knot should not crash if MODULE_DIR does not exist
knot is currently fine if there are no modules available in MODULE_DIR
. This should be basically the same situation as if MODULE_DIR
does not exist.
However, if MODULE_DIR
does not exist, knot currently crashes with:
error: module, invalid directory '/path/to/MODULE_DIR'
If MODULE_DIR
does not exist, knot should behave the same as if the directory exists but was empty.