diff options
-rw-r--r-- | cfg.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -127,6 +127,10 @@ static void validate_daemonize(struct mog_cfg *cli) if (!nerr) mog_cfg_validate_daemon(cli, &nerr); + /* we may use confstr(_CS_PATH) in the future, currently we do not */ + if (!path) + die("PATH environment must be set"); + p = path; /* trailing ':' in PATH is identical to trailing ":." (cwd) */ |