> -----Original Message----- > From: Marc Powell [mailto:[email protected]] > <snip> > > Try adding a bit at the top of the script to touch a file or something > to see if it really ran and is maybe failing further into the script > (i.e. because of a potential sudo restriction).
exec > /tmp/$(/bin/basename $0).log 2>&1 One of my favourite pieces of bash trickery :P Stuart ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
