bitreich-drist

fork of bitreich.org/drist
git clone git://git.pyratebeard.net/bitreich-drist.git
Log | Files | Refs | README | LICENSE

commit cf522f8b25b68b93fb3027c89a46a68b918b473c
parent 119ccda248814e19ef21577a3bb90bf582f464a1
Author: Solene Rapenne <solene@perso.pw>
Date:   Mon,  9 Dec 2019 11:33:10 +0100

Order of execution should be: copy/delete/script and not copy/script/delete

Diffstat:
Mdrist | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drist b/drist @@ -110,10 +110,10 @@ delete_files() { copy_files "files" "$1" copy_files "files-${HOSTNAME}" "$1" -remote_script "script" "$1" -remote_script "script-${HOSTNAME}" "$1" delete_files "absent" "$1" delete_files "absent-${HOSTNAME}" "$1" +remote_script "script" "$1" +remote_script "script-${HOSTNAME}" "$1" # close socket if persistance is actived if [ "$SSHONCE" -eq 1 ]