mirror of
https://github.com/troglobit/finit.git
synced 2026-11-20 19:41:51 +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[] = {
|
char *editor[] = {
|
||||||
"sensible-editor",
|
"sensible-editor",
|
||||||
"editor",
|
"editor",
|
||||||
"${VISUAL:-${EDITOR:$(command -v mg vi | head -1)}}"
|
"${VISUAL:-${EDITOR:-$(command -v mg vi | head -1)}}"
|
||||||
};
|
};
|
||||||
char path[256];
|
char path[256];
|
||||||
char *fn;
|
char *fn;
|
||||||
|
|||||||
Reference in new issue
Block a user