diff --git a/cluster-manager.sh b/cluster-manager.sh index 7d2340d..4e7e5d6 100644 --- a/cluster-manager.sh +++ b/cluster-manager.sh @@ -54,7 +54,7 @@ function host_exec_cmd { # $3 remote localhost function host_send_file { if [ "$MYHOST" == "$1" ]; then - mv ${2} ${3} + cp ${2} ${3} else scp ${2} ${SSH_USER}${1}.routetopa.eu:${2} fi @@ -72,7 +72,7 @@ function host_send_file { # $3 local filename function host_recv_file { if [ "$MYHOST" == "$1" ]; then - mv ${2} ${3} + cp ${2} ${3} else scp ${SSH_USER}${1}.routetopa.eu:${2} ./${3} fi