X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=sh-i18n--envsubst.c;h=6cd307ac2c65a2825e467aeb9c1e6abfe8cc7e70;hb=5b12e16bb134969747eaa983ab8d83d57f41e960;hp=e7430b9aa8ecf136a7d625ee059822e1e1a74b26;hpb=ae92ac8ae3838e72840f5d019195bb9c0c9e7b0e;p=thirdparty%2Fgit.git diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index e7430b9aa8..6cd307ac2c 100644 --- a/sh-i18n--envsubst.c +++ b/sh-i18n--envsubst.c @@ -104,12 +104,12 @@ cmd_main (int argc, const char *argv[]) if (ferror (stderr) || fflush (stderr)) { fclose (stderr); - exit (EXIT_FAILURE); + return (EXIT_FAILURE); } if (fclose (stderr) && errno != EBADF) - exit (EXIT_FAILURE); + return (EXIT_FAILURE); - exit (EXIT_SUCCESS); + return (EXIT_SUCCESS); } /* Parse the string and invoke the callback each time a $VARIABLE or