in reply to FR Reload Issues
system("sudo ssh $addr $reloadcmd") && die("Failed to 'sudo ssh $addr $reloadcmd': $?");
That should give you some idea what's going on.
For more information about dealing with errors from system(), see the system() docs in perlfunc:
$ perldoc -f system
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: FR Reload Issues
by amt (Monk) on Nov 03, 2004 at 18:14 UTC | |
by samtregar (Abbot) on Nov 03, 2004 at 19:14 UTC | |
by amt (Monk) on Nov 04, 2004 at 14:48 UTC |