mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
Follow-up, fix variable expansion if unset
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
2ac39e1917
commit
c204724353
1 file changed
+1
-1
+1
-1
@@ -264,7 +264,7 @@ static int do_edit(char *arg, int creat)
|
||||
char *editor[] = {
|
||||
"sensible-editor",
|
||||
"editor",
|
||||
"${VISUAL:-${EDITOR:$(command -v mg vi | head -1)}}"
|
||||
"${VISUAL:-${EDITOR:-$(command -v mg vi | head -1)}}"
|
||||
};
|
||||
char path[256];
|
||||
char *fn;
|
||||
|
||||
Reference in new issue
Block a user