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