]> gitweb.fluxo.info Git - borger.git/commitdiff
Lockfile cleanup
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 7 Aug 2019 01:46:07 +0000 (22:46 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 7 Aug 2019 01:46:07 +0000 (22:46 -0300)
borger

diff --git a/borger b/borger
index a4d2f73ad59376aed3a6f72e34d661a08d5df344..05d8d2bb5219566f2484b05204f27cf061dfb6c8 100755 (executable)
--- a/borger
+++ b/borger
@@ -64,11 +64,7 @@ function borger_setup {
   fi
 
   # Lockfile location
-  if [ "$OPTION" == "--continuous" ]; then
-    LOCKFILE="$TMP/$BASENAME/$DESTINATION-continuous.lock"
-  else
-    LOCKFILE="$TMP/$BASENAME/$DESTINATION.lock"
-  fi
+  LOCKFILE="$TMP/$BASENAME/$DESTINATION.lock"
 }
 
 # Process configuration