Commit 4bb3dbf4 authored by Thomas Schmitt's avatar Thomas Schmitt

Bug fix: Exit value of failed -mount command was reported as 0

parent a2b52b46
......@@ -1180,7 +1180,7 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
if(WIFEXITED(status) && WEXITSTATUS(status) != 0) {
sprintf(xorriso->info_text,
"-mount : mount command failed with exit value %d",
(int) WEXITSTATUS(ret));
(int) WEXITSTATUS(status));
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
ret= 0; goto ex;
}
......
#define Xorriso_timestamP "2017.06.29.211523"
#define Xorriso_timestamP "2017.07.21.105310"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment