summarylogtreecommitdiffstats
path: root/hadoop.install
diff options
context:
space:
mode:
Diffstat (limited to 'hadoop.install')
-rw-r--r--hadoop.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadoop.install b/hadoop.install
index 477751f66a6c..e152b8395709 100644
--- a/hadoop.install
+++ b/hadoop.install
@@ -12,6 +12,6 @@ pre_remove() {
}
post_remove() {
- userdel hadoop
- rm -rf /var/{lib,log}/hadoop
+ userdel -r hadoop
+ rm -rf /var/log/hadoop
}