Skip to content

Commit

Permalink
Revert r317804; apparently I forgot the auto_master syntax.
Browse files Browse the repository at this point in the history
MFC after:	2 weeks
  • Loading branch information
trasz committed May 4, 2017
1 parent 9bc2b16 commit 74f4f2e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions usr.sbin/autofs/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ node_new_map(struct node *parent, char *key, char *options, char *map,
n->n_options = options;
else
n->n_options = strdup("");
assert(map != NULL);
n->n_map = map;
assert(config_file != NULL);
n->n_config_file = config_file;
Expand Down Expand Up @@ -1123,10 +1122,6 @@ parse_master_yyin(struct node *root, const char *master)
ret = yylex();
if (ret == 0 || ret == NEWLINE) {
if (mountpoint != NULL) {
if (map == NULL) {
log_errx(1, "missing map name "
"at %s, line %d", master, lineno);
}
//log_debugx("adding map for %s", mountpoint);
node_new_map(root, mountpoint, options, map,
master, lineno);
Expand Down

0 comments on commit 74f4f2e

Please sign in to comment.