X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2FUtil%2FMySystem.c;h=6aec20f98e91b338e1592926bab4441e115cfcec;hb=3cc3afec47c3120261483ee052a8505a8d00db0b;hp=089b6b55d6095c7ef50f311898778798560e93a2;hpb=8437eb549b544130a68d90e7099592f59330bcde;p=fw%2Fsdcc diff --git a/support/Util/MySystem.c b/support/Util/MySystem.c index 089b6b55..6aec20f9 100644 --- a/support/Util/MySystem.c +++ b/support/Util/MySystem.c @@ -321,6 +321,11 @@ my_system(const char *cmd) } e = system(cmdLine); + + if (options.verboseExec && e) { + printf("+ %s returned errorcode %d\n", cmdLine, e); + } + Safe_free(cmdLine); return e;