gbak isn't returning exit code about errors when using service manager (-se) ----------------------------------------------------------------------------
Key: CORE-5520 URL: http://tracker.firebirdsql.org/browse/CORE-5520 Project: Firebird Core Issue Type: Bug Components: GBAK Affects Versions: 2.5.7, 2.1.7 Environment: Windows 10 pro + Firebird 2.5.7 and 2.1.7 Reporter: Beto Neto Priority: Critical I'm trying to restore a corrupted backup file. My shell script takes care about this process using the gbak, and analyzes the exit code from it. Without using the "-se" option, everything goes ok! gbak -c corrupted.fbk restore.fdb -user sysdba -password masterkey -v echo %errorcode% This command will print "2". But, when I run the restore with the service manager option it doesn't returns the error code: gbak -c corrupted.fbk restore.fdb -user sysdba -password masterkey -v -se 127.0.0.1/3050:service_mgr echo %errorcode% This command will print "0" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel