diff options
Diffstat (limited to 'usr.bin/sudo/defaults.c')
-rw-r--r-- | usr.bin/sudo/defaults.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sudo/defaults.c b/usr.bin/sudo/defaults.c index 482b574c0c1..e7d1c345fe6 100644 --- a/usr.bin/sudo/defaults.c +++ b/usr.bin/sudo/defaults.c @@ -408,7 +408,7 @@ set_default(var, val, op) return(FALSE); } } - if ((cur->type & T_PATH) && *val != '/') { + if ((cur->type & T_PATH) && val && *val != '/') { (void) fprintf(stderr, "%s: values for `%s' must start with a '/'\n", Argv[0], var); |