about summary refs log tree commit diff
path: root/src/testsuite/stress-server.sh
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2003-04-22 19:27:50 +0000
committerAlexander Barton <alex@barton.de>2003-04-22 19:27:50 +0000
commit0551f688f69419d82dae8a5692e1348d9da2a719 (patch)
treeb865fb93cb4c389c59969c636faa7874b96b2048 /src/testsuite/stress-server.sh
parentc74ac55832238562fc9d00c2050f1d8d62c2ad5c (diff)
downloadngircd-0551f688f69419d82dae8a5692e1348d9da2a719.tar.gz
ngircd-0551f688f69419d82dae8a5692e1348d9da2a719.zip
Made scripts mor portable (run on SunOS 5.6 now).
Diffstat (limited to 'src/testsuite/stress-server.sh')
-rwxr-xr-xsrc/testsuite/stress-server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testsuite/stress-server.sh b/src/testsuite/stress-server.sh
index f9364462..51e56da1 100755
--- a/src/testsuite/stress-server.sh
+++ b/src/testsuite/stress-server.sh
@@ -1,10 +1,10 @@
 #!/bin/sh
 # ngIRCd Test Suite
-# $Id: stress-server.sh,v 1.6 2002/09/23 22:07:43 alex Exp $
+# $Id: stress-server.sh,v 1.7 2003/04/22 19:27:50 alex Exp $
 
 [ -z "$srcdir" ] && srcdir=`dirname $0`
 
-[ $1 -gt 0 ] 2> /dev/null && CLIENTS=$1 || CLIENTS=5
+[ "$1" -gt 0 ] 2> /dev/null && CLIENTS="$1" || CLIENTS=5
 
 name=`basename $0`
 test=`echo ${name} | cut -d '.' -f 1`