From cd19e00e69ba615375953040e7b7b6fd43eb5d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemens=20B=C3=B6swirth?= Date: Mon, 5 Aug 2019 23:28:05 +0200 Subject: [PATCH] gopts: improve runtime error message requested in #2856 --- src/plugins/gopts/gopts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/gopts/gopts.c b/src/plugins/gopts/gopts.c index ddf75cc984a..401e833f5e2 100644 --- a/src/plugins/gopts/gopts.c +++ b/src/plugins/gopts/gopts.c @@ -57,6 +57,7 @@ int elektraGOptsGet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned, Key * pa if (argv == NULL || envp == NULL) { + ELEKTRA_SET_INSTALLATION_ERROR (parentKey, "could not load current process' arguments"); return ELEKTRA_PLUGIN_STATUS_ERROR; }