environment: Allow default env path to be NULL
Several places assume that the default environment path cannot be NULL.
Allow NULL here without crashing.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 16a3b9f commit c6bdbf6e93a11227f91fbf15b7a36dceb60c526d
@Sascha Hauer Sascha Hauer authored on 21 Sep 2018
Showing 2 changed files
View
commands/loadenv.c
View
common/environment.c