guardianctrl: Fix function call to get process-id.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 5 Jul 2016 06:08:45 +0000 (08:08 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 5 Jul 2016 06:08:45 +0000 (08:08 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
guardianctrl.in

index 4b4cf22..9777723 100644 (file)
@@ -132,7 +132,7 @@ sub HandleStatus () {
        }
 
        # Grab process-id.
-       my $pid = &Guardian::Daemon::GetPid();
+       my $pid = &Guardian::Daemon::GetPID();
 
        # Print out grabbed details.
        print "Guardian is running with process-id ($pid).\n";