summaryrefslogtreecommitdiff
path: root/src/nohup.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-06-13 16:36:48 +0200
committerJim Meyering <meyering@redhat.com>2009-06-13 16:37:13 +0200
commit358aca5fb9cb67c593aa5f1ddf166dbefcf55f0c (patch)
tree2f3db4f4c8b2fb8c8f46048a0a3a94f56a1df6db /src/nohup.c
parent24c727d3c26122c4f1c29381e7c6f5d96985ccca (diff)
downloadcoreutils-358aca5fb9cb67c593aa5f1ddf166dbefcf55f0c.tar.xz
diag: say "failed to...", rather than "cannot..." in a few diagnostics
* src/chroot.c (main): ...it's more precise. * src/nohup.c (main): Likewise. * src/setuidgid.c (main): Likewise. * src/timeout.c (main): Likewise.
Diffstat (limited to 'src/nohup.c')
-rw-r--r--src/nohup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nohup.c b/src/nohup.c
index 3364e9191..6c9bbbf28 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -213,7 +213,7 @@ main (int argc, char **argv)
In other words, output the diagnostic if possible, but only if
it will go to the original stderr. */
if (dup2 (saved_stderr_fd, STDERR_FILENO) == STDERR_FILENO)
- error (0, saved_errno, _("cannot run command %s"), quote (*cmd));
+ error (0, saved_errno, _("failed to run command %s"), quote (*cmd));
exit (exit_status);
}