Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree



byihasn, June 28, 2013
1 of 1 people found this review helpful
add -w to !#/usr/bin/perl to allow for execution when you see "-bash: ./check_exit_status.pl: /usr/bin/perl^M: bad interpreter: No such file or directory
". should read as "!#/usr/bin/perl -w"
Owner's reply

Actually this is a problem with uploading an ascii file in binary mode.
If you simply run a "dos2unix check_exit_status.pl" it will fix this. Generally you should not run production code with -w on.