Follow up to r312118

State that execve failed instead of just printing out the program name
and strerror(errno) via err(3).

MFC after:	3 days
X-MFC with:	r312118
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-01-14 05:24:35 +00:00
parent f614ceaf4a
commit dcdb30d8f8

View File

@ -50,5 +50,5 @@ main(int argc, char **argv)
}
execve(argv[1], &argv[1], NULL);
err(1, "%s", "");
err(1, "execve failed");
}