Blob Blame History Raw
diff -up rsnapshot-1.3.1/rsnapshot-program.pl.orig rsnapshot-1.3.1/rsnapshot-program.pl
--- rsnapshot-1.3.1/rsnapshot-program.pl.orig	2009-09-06 16:28:38.000000000 +0200
+++ rsnapshot-1.3.1/rsnapshot-program.pl	2009-09-06 16:27:51.000000000 +0200
@@ -504,8 +504,8 @@ sub parse_config_file {
 	# open the config file
 	my $config_file = shift() || $config_file;
 	my $CONFIG;
-	if($config_file =~ /^`.*`$/) {
-	    open($CONFIG, "$config_file|") ||
+	if($config_file =~ /^`(.*)`$/) {
+	    open($CONFIG, "$1|") ||
 	        bail("Couldn't execute \"$config_file\" to get config information\nAre you sure you have permission?");
 	} else {
 	    $CONFIG = IO::File->new($config_file)