Fix underscore in "no drive found"

This commit is contained in:
Georg Schönberger
2016-04-12 10:27:05 +02:00
parent 877027a0e1
commit db980606c0

View File

@ -561,7 +561,7 @@ sub getPhysicalDevices{
}
}
else {
if(grep { /No drive _found/i } @output){
if(grep { /No drive found/i } @output){
print "Warning (CTR Warn) [No storage attached] ($command)\n";
exit(STATE_WARNING);
}