summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index e90d96b..d0664e8 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -651,7 +651,7 @@ ShellCommand(struct cmdargs const *arg, int bg)
if ((shpid = fork()) == 0) {
int i, fd;
- if ((shell = getenv("SHELL")) == 0)
+ if ((shell = getenv("SHELL")) == NULL)
shell = _PATH_BSHELL;
timer_TermService();
OpenPOWER on IntegriCloud