diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-09 20:05:39 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-09 20:05:39 +0000 |
| commit | 74136dc30084bec90b02f3a4183bec0fe7a44afe (patch) | |
| tree | 57723469d19916476637a2e5fe0d7a63f1beaaa6 /bin/sh/parser.c | |
| parent | 62b10973b18e281af011897c3cf87576edbf9728 (diff) | |
Notes
Diffstat (limited to 'bin/sh/parser.c')
| -rw-r--r-- | bin/sh/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c index da6defdb2c79..3f9732cbbff3 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -628,7 +628,7 @@ simplecmd(union node **rpp, union node *redir) /* If we don't have any redirections already, then we must reset */ /* rpp to be the address of the local redir variable. */ - if (redir == 0) + if (redir == NULL) rpp = &redir; args = NULL; |
