Fix underscore in "no drive found"

This commit is contained in:
Georg Schönberger committed 2016-04-12 10:27:05 +02:00
1 parent 877027a0e1
commit db980606c0
1 file changed
+1 -1
+1 -1
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);
}