summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/chroot.c2
-rw-r--r--src/nohup.c2
-rw-r--r--src/setuidgid.c2
-rw-r--r--src/timeout.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/chroot.c b/src/chroot.c
index 12d282b49..b773f0db6 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -261,7 +261,7 @@ main (int argc, char **argv)
{
int exit_status = (errno == ENOENT ? EXIT_ENOENT : EXIT_CANNOT_INVOKE);
- error (0, errno, _("cannot run command %s"), quote (argv[0]));
+ error (0, errno, _("failed to run command %s"), quote (argv[0]));
exit (exit_status);
}
}
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);
}
diff --git a/src/setuidgid.c b/src/setuidgid.c
index beff04acb..7d8ca3f2f 100644
--- a/src/setuidgid.c
+++ b/src/setuidgid.c
@@ -210,7 +210,7 @@ main (int argc, char **argv)
execvp (*cmd, cmd);
exit_status = (errno == ENOENT ? EXIT_ENOENT : EXIT_CANNOT_INVOKE);
- error (0, errno, _("cannot run command %s"), quote (*cmd));
+ error (0, errno, _("failed to run command %s"), quote (*cmd));
exit (exit_status);
}
}
diff --git a/src/timeout.c b/src/timeout.c
index c79f24eb5..2700745fc 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -301,7 +301,7 @@ main (int argc, char **argv)
/* exit like sh, env, nohup, ... */
exit_status = (errno == ENOENT ? EXIT_ENOENT : EXIT_CANNOT_INVOKE);
- error (0, errno, _("cannot run command %s"), quote (argv[0]));
+ error (0, errno, _("failed to run command %s"), quote (argv[0]));
return exit_status;
}
else