We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64f714b commit 5d310b1Copy full SHA for 5d310b1
1 file changed
check_smart.pl
@@ -158,13 +158,13 @@
158
}
159
160
foreach my $opt_dl (@dev){
161
- warn "Found $opt_dl\n" if $opt_debug;
+ warn "(debug) Found $opt_dl\n" if $opt_debug;
162
if (-l $opt_dl) {
163
- warn "$opt_dl is a symlink, skipping for security reasons\n\n" if $opt_debug;
+ warn "(debug) $opt_dl is a symlink, skipping for security reasons\n" if $opt_debug;
164
} elsif (-b $opt_dl || -c $opt_dl || $opt_dl =~ m/^\/dev\/bus\/\d$/) {
165
$device .= $opt_dl."|";
166
} else {
167
- warn "$opt_dl is not a valid block/character special device!\n\n" if $opt_debug;
+ warn "(debug) $opt_dl is not a valid block/character special device!\n\n" if $opt_debug;
168
169
170
0 commit comments