system("sudo ssh $addr echo Hello") && die("Failed to 'sudo ssh $addr echo Hello': $?");
If that works then you know the problem isn't with sudo or ssh. You need to look at $reloadcmd and figure out why it's failing. You haven't told us anything about this code so it's hard to know why it might exit(0).
-sam
In reply to Re^3: FR Reload Issues
by samtregar
in thread FR Reload Issues
by amt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |