summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index 56f135c..7aa166a 100644
--- a/src/input.c
+++ b/src/input.c
@@ -83,7 +83,7 @@ VbResult input_open_editor(void)
GPid pid;
gboolean success;
- if (!vb.config.editor_command) {
+ if (!vb.config.editor_command || !*vb.config.editor_command) {
vb_echo(VB_MSG_ERROR, true, "No editor-command configured");
return RESULT_ERROR;
}