diff options
| author | Sergey Kandaurov <pluknet@FreeBSD.org> | 2013-02-20 12:40:26 +0000 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@FreeBSD.org> | 2013-02-20 12:40:26 +0000 |
| commit | dcdc127b07a5f565b407bf510a98f4bfaa1071b1 (patch) | |
| tree | 9054097c895d9b6febb3735c551ea6ad8ea70dc3 /usr.sbin/mountd | |
| parent | d7cc11edcecebe23521a58a772a2bfedfc627e67 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/mountd')
| -rw-r--r-- | usr.sbin/mountd/mountd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index bc290d6d9cfe..19134104ed83 100644 --- a/usr.sbin/mountd/mountd.c +++ b/usr.sbin/mountd/mountd.c @@ -2235,7 +2235,7 @@ do_opt(char **cpp, char **endcpp, struct exportlist *ep, struct grouplist *grp, ep->ex_indexfile = strdup(cpoptarg); } else if (!strcmp(cpopt, "quiet")) { opt_flags |= OP_QUIET; - } else if (!strcmp(cpopt, "sec")) { + } else if (cpoptarg && !strcmp(cpopt, "sec")) { if (parsesec(cpoptarg, ep)) return (1); opt_flags |= OP_SEC; |
