summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-20 00:03:43 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-20 00:03:43 -0400
commit5de281718086f9508239f664a8af4495cc320be0 (patch)
tree8afc9922e9d543dcf46fd656c60786e61c7d77c1 /etc/rc.update_bogons.sh
parent83c56e9c0cc9ce4b941f43f4fd5b3d4b08e962b6 (diff)
downloadpfsense-5de281718086f9508239f664a8af4495cc320be0.zip
pfsense-5de281718086f9508239f664a8af4495cc320be0.tar.gz
Do not sleep if an argument is passed
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-xetc/rc.update_bogons.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh
index 469ef70..f1c1e7e 100755
--- a/etc/rc.update_bogons.sh
+++ b/etc/rc.update_bogons.sh
@@ -12,7 +12,7 @@ value=`od -A n -d -N2 /dev/random | awk '{ print $1 }'`
echo "rc.update_bogons.sh is sleeping for $value" | logger
# Sleep for that time, unless an argument is specified.
-if [ ! $1 ]; then
+if [ "$1" = "" ]; then
sleep $value
fi
OpenPOWER on IntegriCloud