]> hackdaworld.org Git - outofuni/backup.git/commitdiff
log fiel name bugfix
authorhackbard <hackbard@hackdaworld.org>
Sun, 4 Oct 2015 11:08:00 +0000 (11:08 +0000)
committerhackbard <hackbard@hackdaworld.org>
Sun, 4 Oct 2015 11:08:00 +0000 (11:08 +0000)
bin/backup

index cf8c58463242a3173d45d802691adf2625d3b36a..e843da37fdd2ef425fab7b62c33e6367431bc90a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 function log {
-       conf=`basename $config | sed 's/\.config$//'`
+       conf=`basename $config | sed 's/\.conf$//'`
        [ "$dolog" = "1" ] && echo "`date` - $@" >> $logdir/${conf}.log
 }