]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove this, too
authorAlan T. DeKok <aland@freeradius.org>
Sun, 29 Oct 2023 22:28:48 +0000 (18:28 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 29 Oct 2023 22:28:48 +0000 (18:28 -0400)
src/lib/server/exec_legacy.c

index 2763c341e71a11c03570eea8641f1a5f5f13808a..bf1d721caf4d7a3518e5dd120f81549b79779c02 100644 (file)
@@ -537,7 +537,7 @@ wait:
        if (child_pid == pid) {
                if (WIFEXITED(status)) {
                        status = WEXITSTATUS(status);
-                       if ((status != 0) || (ret < 0)) {
+                       if (status != 0) {
                                RERROR("Program returned code (%d) and output \"%pV\"", status,
                                       fr_box_strvalue_len(answer, len));
                        } else {