X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/f7b18eb6cf1b1130b626ae6d9d69934d6403e7e4..4d5a090ff15267db03697a074944a1b0687e94e3:/files/usr/sbin/remctl-update.sh?ds=sidebyside diff --git a/files/usr/sbin/remctl-update.sh b/files/usr/sbin/remctl-update.sh index c5cf3f3..f0254b9 100755 --- a/files/usr/sbin/remctl-update.sh +++ b/files/usr/sbin/remctl-update.sh @@ -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