remove temp command file after execution
This commit is contained in:
parent
d93600ace4
commit
869969f9ba
@ -216,5 +216,5 @@ if [ -f ./commands ]; then
|
|||||||
rm $_tmp
|
rm $_tmp
|
||||||
msg 0 "executing 'commands' file"
|
msg 0 "executing 'commands' file"
|
||||||
_scp commands "${RUN_USER}@${SERVER}:${_tmp}"
|
_scp commands "${RUN_USER}@${SERVER}:${_tmp}"
|
||||||
_ssh ${RUN_USER}@${SERVER} "chmod +x ${_tmp}; . ${_tmp}"
|
_ssh ${RUN_USER}@${SERVER} "chmod +x ${_tmp}; . ${_tmp}; rm ${_tmp}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user