From: Peter Palfrader Date: Sun, 18 Sep 2016 19:10:31 +0000 (+0200) Subject: fix IO redirection in acquire-reboot-lock X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=67c8f7b0a68fc990371f002c94e04c935539789e;p=mirror%2Fdsa-puppet.git fix IO redirection in acquire-reboot-lock --- diff --git a/modules/debian-org/files/molly-guard/15-acquire-reboot-lock b/modules/debian-org/files/molly-guard/15-acquire-reboot-lock index dd41a4c19..ebbac937b 100644 --- a/modules/debian-org/files/molly-guard/15-acquire-reboot-lock +++ b/modules/debian-org/files/molly-guard/15-acquire-reboot-lock @@ -6,7 +6,7 @@ l=/var/run/reboot-lock exec 3> $l if ! flock --exclusive -w 0 3; then - echo 2>&1 "Cannot acquire reboot lock." + echo >&2 "Cannot acquire reboot lock." exit 1 fi echo "Reboot lock acquired."