Merge branch 'obsd-master'

Sync from OpenBSD.
This commit is contained in:
Thomas Adam 2012-11-04 01:27:57 +00:00
commit a75801320d

View File

@ -57,7 +57,7 @@ cmd_set_environment_exec(struct cmd *self, struct cmd_ctx *ctx)
return (CMD_RETURN_ERROR); return (CMD_RETURN_ERROR);
} }
if (args->argc < 1) if (args->argc < 2)
value = NULL; value = NULL;
else else
value = args->argv[1]; value = args->argv[1];