summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-12-11 13:31:14 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-12-11 13:31:14 +0100
commitb33e3e0f99946260200a43e783488416eeed112a (patch)
tree9f48d7f56344d98b0e6abc7b34c0fda0e19cb5be /fs
parent2d525e7ee0a8059881e725db7d3f1d8ebb5e63f5 (diff)
parent8bc9efc85b8af8a23a0c86b04e2265730a220ade (diff)
downloadbarebox-b33e3e0f99946260200a43e783488416eeed112a.tar.gz
barebox-b33e3e0f99946260200a43e783488416eeed112a.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'fs')
-rw-r--r--fs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index f41e4b9b72..00b8645fb0 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -3066,7 +3066,7 @@ static int automount_mount(struct dentry *dentry)
setenv("automount_path", am->path);
export("automount_path");
ret = run_command(am->cmd);
- setenv("automount_path", NULL);
+ unsetenv("automount_path");
if (ret) {
printf("running automount command '%s' failed\n",