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
In reply to Re: FR Reload Issues
by samtregar
in thread FR Reload Issues
by amt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |