Skip to content
Snippets Groups Projects
user avatar
Yaniv Levinsky authored
The function set_default_vars() in common.c adds H_INTERACTIVE to the
h_import() flag, but the function has no way of telling if the command
actually was user directed like this flag suggest. The flag should be
set by the calling function do_env_default() in nvedit.c instead, where
the command is certainty user directed.

Move the H_INTERACTIVE flag from set_default_vars() to do_env_default().

Signed-off-by: default avatarYaniv Levinsky <yaniv.levinsky@compulab.co.il>
Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
5a04264e
History
Name Last commit Last update