Once upon a time, Darryl L. Pierce <dpierce@xxxxxxxxxx> said: > (mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend > (mcpierce@mcpierce-laptop:~)$ echo $? > 0 > (mcpierce@mcpierce-laptop:~)$ pm-is-supported --hibernate > (mcpierce@mcpierce-laptop:~)$ echo $? > 0 > (mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend-hybrid > (mcpierce@mcpierce-laptop:~)$ echo $? > 1 > > Though I'm questioning this last once since I tried to do: > > pm-is-supported --suspend-hybrid && echo $? > > and it never showed the RC, telling me the command itself failed. Remember: exit code of zero is "success", non-zero is "failure". It is inverted from common usage, but allows for multiple "failure" exit codes. -- Chris Adams <cmadams@xxxxxxxxxx> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines