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

This commit is contained in:
Thomas Schmitt 2017-07-21 12:55:08 +02:00
parent a2b52b462b
commit 4bb3dbf4c4
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -1 +1 @@
#define Xorriso_timestamP "2017.06.29.211523"
#define Xorriso_timestamP "2017.07.21.105310"