summaryrefslogtreecommitdiff
path: root/src/nohup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nohup.c')
-rw-r--r--src/nohup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nohup.c b/src/nohup.c
index 91ccc11e9..523c9dfc9 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -73,6 +73,11 @@ To save output to FILE, use '%s COMMAND > FILE'.\n"),
exit (status);
}
+/* GCC 13 gets confused by the dup2 calls. */
+#if 13 <= __GNUC__
+# pragma GCC diagnostic ignored "-Wanalyzer-fd-leak"
+#endif
+
int
main (int argc, char **argv)
{