summaryrefslogtreecommitdiff
path: root/prtsweep
diff options
context:
space:
mode:
Diffstat (limited to 'prtsweep')
-rwxr-xr-xprtsweep2
1 files changed, 1 insertions, 1 deletions
diff --git a/prtsweep b/prtsweep
index a874f6a..6e81ef4 100755
--- a/prtsweep
+++ b/prtsweep
@@ -174,7 +174,7 @@ if [ -z "$ports" -a "$auto" = "1" ]; then
savedir=`pwd`
cd $portdir
for dir in *; do
- sweep $dir
+ test -d $dir && sweep $dir
done
cd $savedir
done

Generated by cgit