diff options
author | Matt Wilson <msw@redhat.com> | 2000-05-30 21:34:09 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-05-30 21:34:09 +0000 |
commit | 082685e97290bef33d6fe0524f253c64c33fde2f (patch) | |
tree | 46fe80df0a84b3260f369d270cfa8e0482b82f10 /scripts/scrubtree | |
parent | dfc6e2e2bfb08eb0233e902bd667c7e3522b0e71 (diff) | |
download | anaconda-082685e97290bef33d6fe0524f253c64c33fde2f.tar.gz anaconda-082685e97290bef33d6fe0524f253c64c33fde2f.tar.xz anaconda-082685e97290bef33d6fe0524f253c64c33fde2f.zip |
no debug, add some arg checking
Diffstat (limited to 'scripts/scrubtree')
-rwxr-xr-x | scripts/scrubtree | 7 |
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 |