mirror of
https://github.com/tihmstar/futurerestore.git
synced 2025-01-02 19:25:31 +00:00
don't display errorcode when no errors occured
This commit is contained in:
parent
dafb02dbdf
commit
d7bc2b6a60
|
@ -219,7 +219,7 @@ int main(int argc, const char * argv[]) {
|
|||
}
|
||||
|
||||
error:
|
||||
if (res) cout << "Failed with errorcode="<<err << endl;
|
||||
if (err) cout << "Failed with errorcode="<<err << endl;
|
||||
return err;
|
||||
#undef reterror
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue