return negative error codes
This commit is contained in:
		@@ -90,5 +90,5 @@ int main(int argc, char **argv) {
 | 
				
			|||||||
    if (ret == 0) {
 | 
					    if (ret == 0) {
 | 
				
			||||||
       ret = SyncCommand().exec("rsync", options << optInRepo << "/opt");
 | 
					       ret = SyncCommand().exec("rsync", options << optInRepo << "/opt");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return ret;
 | 
					    return (ret > 0) ? -ret : ret;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user