mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
typo
This commit is contained in:
parent
3b1be424aa
commit
7f4e5240cf
2
sudo.c
2
sudo.c
@ -462,7 +462,7 @@ static void load_globals(sudo_mode)
|
||||
if (!getcwd(cwd, sizeof(cwd))) {
|
||||
/* try as root... */
|
||||
set_perms(PERM_ROOT, sudo_mode);
|
||||
if (!getcwd(cwd), sizeof(cwd)) {
|
||||
if (!getcwd(cwd, sizeof(cwd))) {
|
||||
(void) fprintf(stderr, "%s: Can't get working directory!\n",
|
||||
Argv[0]);
|
||||
(void) strcpy(cwd, "unknown");
|
||||
|
Loading…
x
Reference in New Issue
Block a user