Closed ampaze closed 12 years ago
Even when the "crushing" was successful, the return code is 1. So this code
if ( ! @file_put_contents( $output_file, $output ) ) { fwrite( $stdout, "Could not write to path '$output_file'\n" ); if ( strpos( $output_file, '~' ) === 0 ) { fwrite( $stdout, "No tilde expansion\n" ); } exit( 0 ); }
should be
if ( ! @file_put_contents( $output_file, $output ) ) { fwrite( $stdout, "Could not write to path '$output_file'\n" ); if ( strpos( $output_file, '~' ) === 0 ) { fwrite( $stdout, "No tilde expansion\n" ); } } else { exit( 0 ); }
Fixed in v1.5
Even when the "crushing" was successful, the return code is 1. So this code
should be