I just spent 20 minutes banging my head over my code before it occured to me that gksu was to blame. And indeed:
$ gksu false; echo $? 0
This is wrong.
I just spent 20 minutes banging my head over my code before it occured to me that gksu was to blame. And indeed:
$ gksu false; echo $?
0
This is wrong.