|
very neat! I tested it & looks the if statement evaluates if the returning code is 0 or not, isn't it??
However, I failed to make it to check if it is non-zero- tried a few syntax with no luck... such as: if [ ! domything ], if [ domything -ne 0 ].... can you make it?;-)
|