Fix fool typo that prevents daemon from start
This commit is contained in:
@@ -72,6 +72,9 @@ if ($< == 0) {
|
|||||||
# double fork attach to /dev/null all stdio and go background
|
# double fork attach to /dev/null all stdio and go background
|
||||||
daemonize ();
|
daemonize ();
|
||||||
|
|
||||||
|
# write pidfile
|
||||||
|
my $apath = abs_path ($0);
|
||||||
|
|
||||||
unless (defined($apath)) {
|
unless (defined($apath)) {
|
||||||
logger ("Unable to get abs_path: $!");
|
logger ("Unable to get abs_path: $!");
|
||||||
die "Unable to get abs_path: $!\n";
|
die "Unable to get abs_path: $!\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user