aboutsummaryrefslogtreecommitdiffstats
path: root/mayor/bin/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mayor/bin/backup.sh')
-rw-r--r--mayor/bin/backup.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/mayor/bin/backup.sh b/mayor/bin/backup.sh
index af02cccf..b554ab4a 100644
--- a/mayor/bin/backup.sh
+++ b/mayor/bin/backup.sh
@@ -58,7 +58,8 @@ while [ $# -ge 1 ]; do
--skip-lock | -l ) SKIPLOCK=1
;;
- --now | -n ) DATE=$(date "+%Y%m%d_%H%M%S")
+ --now | -n ) shift
+ DATE=$(date "+%Y%m%d_%H%M%S")
BACKUPFILE="$DATE"
#echo "Backup fájl: $BACKUPFILE.tgz"
;;
@@ -310,3 +311,5 @@ fi
#
freeup_lock
if [ $VERBOSE -gt 0 ]; then echo -e "* Backup-script vége.\n"; fi
+
+### \ No newline at end of file