Another bugfix.
authorEric Price <ecprice@mit.edu>
Tue, 9 Oct 2007 07:06:44 +0000 (03:06 -0400)
committerEric Price <ecprice@mit.edu>
Tue, 9 Oct 2007 07:06:44 +0000 (03:06 -0400)
svn path=/trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/; revision=150

files/usr/sbin/remctl-update.sh

index c5cf3f3..f0254b9 100755 (executable)
@@ -48,7 +48,7 @@ update_moiragroup()
 
 check_machine_name()
 {
-    machine="$1"
+    machinename="$1"
     if ! perl -0e 'exit($ARGV[0] !~ /^[A-Za-z0-9][A-Za-z0-9._-]*$/)' -- "$machinename"; then
        echo "Bad machine name"
        exit 1