Skip to content

Commit 88f255c

Browse files
committedMar 9, 2025
core: always print executable in verbose mode (closes #277)
1 parent 685ae44 commit 88f255c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎needrestart

+3
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ if(defined($opt_l)) {
562562
# removed executable mapped files
563563
if($path =~ s/ \(deleted\)$// || # Linux
564564
$path =~ s/^\(deleted\)//) { # Linux VServer
565+
print STDERR "$LOGPREF #$pid is $exe\n" if($nrconf{verbosity} > 1);
565566
print STDERR "$LOGPREF #$pid uses deleted $path\n" if($nrconf{verbosity} > 1);
566567
$restart++;
567568
last;
@@ -575,6 +576,7 @@ if(defined($opt_l)) {
575576
my ($testp) = grep { -e $_; } @paths;
576577
unless($testp) {
577578
unless($nrconf{skip_mapfiles} == -1) {
579+
print STDERR "$LOGPREF #$pid is $exe\n" if($nrconf{verbosity} > 1);
578580
print STDERR "$LOGPREF #$pid uses non-existing $path\n" if($nrconf{verbosity} > 1);
579581
$restart++;
580582
last;
@@ -614,6 +616,7 @@ if(defined($opt_l)) {
614616
# BTRFS breaks device ID mapping completely...
615617
# ignoring unnamed device IDs for now
616618
$mdev =~ /^0:/)) {
619+
print STDERR "$LOGPREF #$pid is $exe\n" if($nrconf{verbosity} > 1);
617620
print STDERR "$LOGPREF #$pid uses obsolete $path\n" if($nrconf{verbosity} > 1);
618621
$restart++;
619622
last;

0 commit comments

Comments
 (0)
Please sign in to comment.