Fix error message

next
Jason Nader 2020-03-01 13:25:42 +09:00
parent 191c394db8
commit 9a3318b622
No known key found for this signature in database
GPG Key ID: EE220FCAA09AF23D
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ int main(int argc, char *argv[]) {
cmd = sstrdup(argv[0]);
*(cmd + argv0_len - strlen(".nagbar_cmd")) = '\0';
execl(_PATH_BSHELL, _PATH_BSHELL, cmd, NULL);
err(EXIT_FAILURE, "execv(/bin/sh, /bin/sh, %s)", cmd);
err(EXIT_FAILURE, "execl(%s, %s, %s)", _PATH_BSHELL, _PATH_BSHELL, cmd);
}
argv0 = argv[0];