summaryrefslogtreecommitdiffstats
path: root/scripts/scrubtree
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-30 21:34:09 +0000
committerMatt Wilson <msw@redhat.com>2000-05-30 21:34:09 +0000
commit082685e97290bef33d6fe0524f253c64c33fde2f (patch)
tree46fe80df0a84b3260f369d270cfa8e0482b82f10 /scripts/scrubtree
parentdfc6e2e2bfb08eb0233e902bd667c7e3522b0e71 (diff)
downloadanaconda-082685e97290bef33d6fe0524f253c64c33fde2f.tar.gz
anaconda-082685e97290bef33d6fe0524f253c64c33fde2f.tar.xz
anaconda-082685e97290bef33d6fe0524f253c64c33fde2f.zip
no debug, add some arg checking
Diffstat (limited to 'scripts/scrubtree')
-rwxr-xr-xscripts/scrubtree7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/scrubtree b/scripts/scrubtree
index 901184278..694f48888 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -1,4 +1,9 @@
-#!/bin/bash -x
+#!/bin/bash
+
+if [ -z "$1" ]; then
+ echo "Usage: $0 /path/to/tree"
+ return 1
+fi
p=$1