summaryrefslogtreecommitdiffstats
path: root/common/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/hush.c')
-rw-r--r--common/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/hush.c b/common/hush.c
index ebc78f9eed..dd47e0b059 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -1022,9 +1022,9 @@ static const char *lookup_param(char *src)
if (!src)
return NULL;
- p = getenv(src);
- if (!p)
- p = get_local_var(src);
+ p = getenv(src);
+ if (!p)
+ p = get_local_var(src);
return p;
}