Improvement: Check that return code is 0 for successful operations, and non-zero...