From 06b1de99fa0c5f5f30fe9fab65b55f55eeb394a9 Mon Sep 17 00:00:00 2001 From: mischa Date: Thu, 9 May 2024 20:27:14 +0200 Subject: [PATCH] split the wingman commands to two seperate commands for servesync to pick them up --- cease.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cease.sh b/cease.sh index e036a10..b7452c9 100755 --- a/cease.sh +++ b/cease.sh @@ -58,6 +58,7 @@ fi if [[ "${SERVER}" == server* ]] || [[ "${SERVER}" == mega* ]]; then openrsync -va --del /home/mischa/vms/ mischa@wm1.obsda.ms:vms/${HOST}/ - ssh wm1.obsda.ms "doas userdel -r ${HOST}${1%.txt} && doas groupdel ${HOST}${1%.txt}" + ssh wm1.obsda.ms "doas userdel -r ${HOST}${1%.txt}" + ssh wm1.obsda.ms "doas groupdel ${HOST}${1%.txt}" openrsync -va --del /home/mischa/vms/ mischa@rx.high5.nl:vms/${HOST}/ fi