Skip to content

Commit

Permalink
Merge pull request #91 from nirgal/patch-1
Browse files Browse the repository at this point in the history
output NRPE message "root needed" on stdout
  • Loading branch information
liske committed Nov 13, 2017
2 parents ceb40a9 + a8e187b commit 2710fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion needrestart
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ print STDERR "$LOGPREF needrestart v$NeedRestart::VERSION\n" if($nrconf{verbosit
my $uid = $<;
if($uid) {
if($opt_p) {
print STDERR "UNKN - This plugin needs to be run as root!\n";
print "UNKN - This plugin needs to be run as root!\n";
exit 3;
}

Expand Down

0 comments on commit 2710fc3

Please sign in to comment.