Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect error code in GFIX [CORE1548] #1965

Closed
firebird-automations opened this issue Oct 28, 2007 · 6 comments
Closed

Incorrect error code in GFIX [CORE1548] #1965

firebird-automations opened this issue Oct 28, 2007 · 6 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: fabianobonin (fabianobonin)

gfix is not returning an error code when the file is not a valid
database. Is it as designed? gbak is returning error code 1

[root@server1 firebird]#⁠ echo 1 > test.fdb
[root@server1 firebird]#⁠ gfix -v -full test.fdb
file /share/firebird/test.fdb is not a valid database
[root@server1 firebird]#⁠ echo $?
0
[root@server1 firebird]#⁠

[root@server1 firebird]#⁠ gbak -b test.fdb test.fbk
gbak: ERROR:file /share/firebird/test.fdb is not a valid database
gbak:Exiting before completion due to errors
[root@server1 firebird]#⁠ echo $?
1
[root@server1 firebird]#⁠

Commits: 8711bd9

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

fixed error handling in utility

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 RC1 [ 10201 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 13356 ] => Firebird [ 15471 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants