[-]
[+]
|
Changed |
nfsen.changes
|
|
[-]
[+]
|
Changed |
nfsen.spec
^
|
|
[-]
[+]
|
Added |
nfsen-create-piddir.patch
^
|
@@ -0,0 +1,14 @@
+--- libexec/NfSenRC.pm.orig 2014-12-10 18:28:28.103766683 +0100
++++ libexec/NfSenRC.pm 2014-12-10 18:32:40.478694852 +0100
+@@ -187,6 +187,11 @@
+ } # End of StopCollector
+
+ sub NfSen_start {
++ if ( ! -d "$NfConf::PIDDIR" ) {
++ mkdir($NfConf::PIDDIR,0755);
++ my $uid = getpwnam $NfConf::USER;
++ chown $uid, 0, $NfConf::PIDDIR;
++ }
+
+ if ( ! -d "$NfConf::PIDDIR" ) {
+ print "PIDDIR '$NfConf::PIDDIR' not found! NfSen installation problem!\n";
|