]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove FIXME comment from timeout.c
authorPádraig Brady <P@draigBrady.com>
Sat, 27 Aug 2022 16:54:42 +0000 (17:54 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 27 Aug 2022 16:54:42 +0000 (17:54 +0100)
* src/timeout.c: We shouldn't hardcode `sh -c` as users
can specify that if needed, so remove the comment.

src/timeout.c

index bf300dabb27b2bca694f1024888912145bf171dc..06635ab3a24d9061c7f2eca53e2bf08781935b12 100644 (file)
@@ -545,7 +545,7 @@ main (int argc, char **argv)
       signal (SIGTTIN, SIG_DFL);
       signal (SIGTTOU, SIG_DFL);
 
-      execvp (argv[0], argv);   /* FIXME: should we use "sh -c" ... here?  */
+      execvp (argv[0], argv);
 
       /* exit like sh, env, nohup, ...  */
       int exit_status = errno == ENOENT ? EXIT_ENOENT : EXIT_CANNOT_INVOKE;