ControlScripts/clients/hrk: fix command line argument verification in start_hrk_...
authorP2P-Next User <p2p@p2p-next-04-201.grid.pub.ro>
Wed, 18 Aug 2010 16:57:41 +0000 (16:57 +0000)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Mon, 20 Sep 2010 16:01:36 +0000 (18:01 +0200)
ControlScripts/clients/hrk/start_hrk_leecher_limit.sh
ControlScripts/clients/hrk/start_hrk_seeder_limit.sh

index b60bfa8..50f1e22 100755 (executable)
@@ -12,8 +12,8 @@
 # If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
 #
 
-if test $# -ne 2; then
-       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s)" 1>&2
+if test $# -ne 3; then
+       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s) number-of-connections" 1>&2
        exit 1
 fi
 
index 037b583..99022f9 100755 (executable)
@@ -12,8 +12,8 @@
 # If you run this script manually, you must run it from the P2P-Testing-Infrastructure/ControlScripts folder
 #
 
-if test $# -ne 2; then
-       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s)" 1>&2
+if test $# -ne 3; then
+       echo "Usage: $0 download-limit(kb/s) upload-limit(kb/s) number-of-connections" 1>&2
        exit 1
 fi