summaryrefslogtreecommitdiffstats
path: root/share/examples/worm
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-04 12:30:16 +0000
committerjkh <jkh@FreeBSD.org>1996-10-04 12:30:16 +0000
commit76b116d2fd0e0fd77244ae0eeeedb0d944ecf0ee (patch)
tree47ca6e924674432fa320591a51b12d6ac2ba5540 /share/examples/worm
parenteefb56463e9e821fc0e7c0f5120724aea37ae484 (diff)
downloadFreeBSD-src-76b116d2fd0e0fd77244ae0eeeedb0d944ecf0ee.zip
FreeBSD-src-76b116d2fd0e0fd77244ae0eeeedb0d944ecf0ee.tar.gz
Relax the argument checking - it caused it to fail in the perfectly
legitimate cd-to-worm copy case.
Diffstat (limited to 'share/examples/worm')
-rwxr-xr-xshare/examples/worm/burncd.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/share/examples/worm/burncd.sh b/share/examples/worm/burncd.sh
index 3f16652..c6af890 100755
--- a/share/examples/worm/burncd.sh
+++ b/share/examples/worm/burncd.sh
@@ -25,8 +25,6 @@ fi
if [ $# -lt 1 ]; then
echo "usage: $0 input-file"
-elif [ ! -f $1 ]; then
- echo "$0: $1 is not a valid file."
elif [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
else
OpenPOWER on IntegriCloud