Skip to content

Commit

Permalink
Update dhsnapshot.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
mbernasocchi committed Apr 10, 2014
1 parent 683e1a3 commit 44c6a28
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dhsnapshot.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
$conf{'basedir'} = get_basedir();
$conf{'emptydir'} = "$conf{'basedir'}/__emptydir/";

require 'dhsnapshot.conf';
use File::Basename;
use Cwd 'abs_path';
my $bd = dirname(abs_path($0));
my $conf_file = "$bd/dhsnapshot.conf";
require $conf_file;


my $lowest_interval = 'daily';
my %rotation;
Expand Down

0 comments on commit 44c6a28

Please sign in to comment.