Skip to content

Conversation

@CoolDuke
Copy link

@CoolDuke CoolDuke commented Apr 28, 2017

Command-line parameter warnonly|W definition in lines 94-97 was duplicating the definition in lines 42-45. If script runs via ePN it failes due to the warning output - testable by running perl -w

# perl -w ./check_raid.pl
Duplicate specification "warnonly|W" for option "warnonly"
Duplicate specification "warnonly|W" for option "W"
Duplicate specification "warnonly|W" for option "warnonly"
Duplicate specification "warnonly|W" for option "W"
UNKNOWN: dm:[No devices to check]; mdstat:[md0(30.00 GiB raid1):UU, md2(100.00 GiB raid1):UU, md1(500.00 MiB raid1):UU]

@glensc glensc merged commit 4257a5d into glensc:master Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants