summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-08-21 19:25:28 +0000
committerPeter Palfrader <peter@palfrader.org>2002-08-21 19:25:28 +0000
commit913b6ccde2ff423490637d1dfb40c6812acf70b6 (patch)
tree931d6d848f8127a4ad1606798eb7a44a680d1c10 /tools
parent086265ccdd0d2830ef73e265df446272b74006cd (diff)
Fix syntax error in pingctl
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pingctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pingctl b/tools/pingctl
index 45a34ec..f175c76 100755
--- a/tools/pingctl
+++ b/tools/pingctl
@@ -19,7 +19,7 @@ CHECKULIMIT=1
CHECKUID=1
# Check for evil ulimits
-if [ "$CHECKULIMIT" -gt "0" ];
+if [ "$CHECKULIMIT" -gt "0" ]; then
FDs=`ulimit -n`
HFDs=`ulimit -H -n`
if [ "$FDs" -lt "512" ]; then
@@ -46,7 +46,7 @@ fi
# Check for right User
SU=""
-if [ "$CHECKUID" -gt "0" ];
+if [ "$CHECKUID" -gt "0" ]; then
CUID=`id -u`
CUIDNAME=`id -nu`
if [ "$CUIDNAME" = "$USER" ]; then