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 cf8c584..e843da3 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
 }