diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-11-20 15:57:54 +1100 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-11-25 11:24:56 +1100 |
commit | 4c7b1f06b01863902c655bebaf38fea8d8f83cbe (patch) | |
tree | 76d60906fe1653102374044088aa1fd3e462d485 | |
parent | 22d1b492d1c44c17ffd053b1e178a1fedfc45c36 (diff) | |
download | autocluster-4c7b1f06b01863902c655bebaf38fea8d8f83cbe.tar.gz autocluster-4c7b1f06b01863902c655bebaf38fea8d8f83cbe.tar.xz autocluster-4c7b1f06b01863902c655bebaf38fea8d8f83cbe.zip |
Shift argument after processing it
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
-rwxr-xr-x | host_setup/setup_networks.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host_setup/setup_networks.sh b/host_setup/setup_networks.sh index e175863..52dc29f 100755 --- a/host_setup/setup_networks.sh +++ b/host_setup/setup_networks.sh @@ -3,6 +3,7 @@ dry_run=false if [ "$1" = "-n" ] ; then dry_run=true + shift fi if [ $# -ne 1 ]; then |