From 4bb3dbf4c4634649ed05a482a22f7052f205d0bc Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 21 Jul 2017 12:55:08 +0200 Subject: [PATCH] Bug fix: Exit value of failed -mount command was reported as 0 --- xorriso/iso_img.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/iso_img.c b/xorriso/iso_img.c index 8a71c8ab..548e7bf6 100644 --- a/xorriso/iso_img.c +++ b/xorriso/iso_img.c @@ -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; } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index e25a67b5..e863894f 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2017.06.29.211523" +#define Xorriso_timestamP "2017.07.21.105310"