Skip to content

Instantly share code, notes, and snippets.

View netmax79's full-sized avatar

Carsten Schöne netmax79

  • InterNetX GmbH
  • Munich
View GitHub Profile
@netmax79
netmax79 / rsnapshot-include_dir.patch
Created January 9, 2020 11:08
rsnapshot include_dir patch
--- rsnapshot-program.pl.orig 2011-11-07 10:08:54.000000000 +0100
+++ rsnapshot-program.pl 2011-11-07 11:05:51.000000000 +0100
@@ -581,7 +581,20 @@
next;
}
}
-
+ # INCLUDE dir
+ if($var eq 'include_dir') {
+ opendir(DIR, $value) or bail("Could not open $value");