summaryrefslogtreecommitdiffstats
path: root/support/include/nfs
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-02-15 10:29:36 -0500
committerSteve Dickson <steved@redhat.com>2017-02-15 10:41:59 -0500
commit2b4b895faff5239774510afaa9948fea54e6967a (patch)
tree230afc38e1dba129280c0941448c3ae1da9175c9 /support/include/nfs
parent907426b00bdcd69d9a56ac1870990e8ae8c6fe9f (diff)
downloadnfs-utils-2b4b895faff5239774510afaa9948fea54e6967a.tar.gz
nfs-utils-2b4b895faff5239774510afaa9948fea54e6967a.tar.xz
nfs-utils-2b4b895faff5239774510afaa9948fea54e6967a.zip
conffile: ignore empty environment variables.
conf_set() already refuses to set an empty value, so if foo= appears in the config file, it will be ignored. This patch extends the policy to environment variables, so empty environment variables are treated as though they didn't exist. This means that a separate environment file (e.g. /etc/sysconfig/nfs) will be treated the same way whether it is: - included in the [environment] section of /etc/nfs.conf - sourced by the shell before running code - sourced by the systemd EnvironmentFile directive. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfs')
0 files changed, 0 insertions, 0 deletions