diff --git a/doc/news/_preparation_next_release.md b/doc/news/_preparation_next_release.md index 3a235bedc0a..fa60bce8ff9 100644 --- a/doc/news/_preparation_next_release.md +++ b/doc/news/_preparation_next_release.md @@ -100,6 +100,11 @@ Thanks to Armin Wurzinger. commonly used specification keywords to be used with the [typechecker](https://www.libelektra.org/plugins/typechecker). Currently the keywords `check/range`, `check/enum` and `check/validation` are supported. *(Armin Wurzinger)* +### Tcl + +- The [`tcl`](http://libelektra.org/plugins/tcl) plugin does not fail anymore, if its configuration file does not exist and you try to + retrieve the plugin contract. *(René Schwaiger)* + ### Misc - The logging plugins ["syslog"](https://www.libelektra.org/plugins/syslog), diff --git a/src/plugins/tcl/tcl.cpp b/src/plugins/tcl/tcl.cpp index 7c7eb59ed35..3e30d7b685e 100644 --- a/src/plugins/tcl/tcl.cpp +++ b/src/plugins/tcl/tcl.cpp @@ -42,6 +42,7 @@ int elektraTclGet (Plugin *, KeySet * returned, Key * parentKey) #include "readme_tcl.c" keyNew ("system/elektra/modules/tcl/infos/version", KEY_VALUE, PLUGINVERSION, KEY_END), KS_END)); ksDel (n); + return ELEKTRA_PLUGIN_STATUS_SUCCESS; } /* get all keys */