Bug fix: Exit value of failed -mount command was reported as 0
This commit is contained in:
parent
a2b52b462b
commit
4bb3dbf4c4
@ -1180,7 +1180,7 @@ int Xorriso_mount(struct XorrisO *xorriso, char *dev, int adr_mode,
|
|||||||
if(WIFEXITED(status) && WEXITSTATUS(status) != 0) {
|
if(WIFEXITED(status) && WEXITSTATUS(status) != 0) {
|
||||||
sprintf(xorriso->info_text,
|
sprintf(xorriso->info_text,
|
||||||
"-mount : mount command failed with exit value %d",
|
"-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);
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||||
ret= 0; goto ex;
|
ret= 0; goto ex;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2017.06.29.211523"
|
#define Xorriso_timestamP "2017.07.21.105310"
|
||||||
|
Loading…
Reference in New Issue
Block a user