summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/data/opt/openslx/scripts/includes
diff options
context:
space:
mode:
authorSimon Rettberg2016-07-14 15:07:30 +0200
committerSimon Rettberg2016-07-14 15:07:30 +0200
commit8a927da541ff175c2601e54726c642b0d5375b13 (patch)
treec3846e1b7e7f3a04a7afef27a9367c936306572a /remote/modules/run-virt/data/opt/openslx/scripts/includes
parent[rfs-stage32] Add --delete and --sync to slxlog, make spam protection a per-u... (diff)
downloadtm-scripts-8a927da541ff175c2601e54726c642b0d5375b13.tar.gz
tm-scripts-8a927da541ff175c2601e54726c642b0d5375b13.tar.xz
tm-scripts-8a927da541ff175c2601e54726c642b0d5375b13.zip
Update several calls to slxlog with --delete instead of having sleep + rm follow the call
Diffstat (limited to 'remote/modules/run-virt/data/opt/openslx/scripts/includes')
-rw-r--r--remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_image_access.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_image_access.inc b/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_image_access.inc
index 337562dc..3c4ed330 100644
--- a/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_image_access.inc
+++ b/remote/modules/run-virt/data/opt/openslx/scripts/includes/setup_image_access.inc
@@ -29,8 +29,6 @@ else
writelog "dnbd3-fuse stopped working (Exit code $RET)"
slxlog "virt-dnbd3-fuse" "dnbd3-fuse stopped/refused serving '${imgrelpath}' from '${SLX_DNBD3_SERVERS}' with error code: $RET" "${dnbd3_tmplog}"
fi
- sleep 2
- rm -f -- "$dnbd3_tmplog" "$dnbd3_exitflag"
) &
# give it a bit of time
usleep 250000