From 358aca5fb9cb67c593aa5f1ddf166dbefcf55f0c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 Jun 2009 16:36:48 +0200 Subject: 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. --- src/timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timeout.c') 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 -- cgit v1.2.3-54-g00ecf