Hi i5513,
Maybe good idea only change the result if it is executed via ssh
Sure, I'd say that's a good idea. Just a minor nitpick, personally I'd test an environment variable for truth instead of definedness, since that allows me to do ENVVAR=0 to disable it, and I'd use == (numeric) instead of eq (string) comparisons: $?=254 if $ENV{SSH_CONNECTION} && $?==255;
Regards,
-- Hauke D
In reply to Re^4: 255: perl compilation error code and ssh cannot connect code (updated)
by haukex
in thread 255: perl compilation error code and ssh cannot connect code
by i5513
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |