]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Changing 'info' to 'fatal' at rsync handler set_lockfile function
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Sep 2010 22:03:45 +0000 (19:03 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Sep 2010 22:03:45 +0000 (19:03 -0300)
files/handlers/rsync

index 0d9bb11414fe54d7ac4de610730056e74ac4ffd0..b4c16b7196c1067bd6cb430a5fa77356bcfea02e 100644 (file)
@@ -856,8 +856,7 @@ function set_lockfile {
     if ( set -o noclobber; echo "$$" > "$lockfile" ) &> /dev/null; then
       trap 'unset_lockfile' INT TERM EXIT
     else
-      info "Could not create lockfile $lockfile, exiting"
-      exit
+      fatal "Could not create lockfile $lockfile, exiting"
     fi
   fi