summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions b/functions
index e5b4195..c85806a 100644
--- a/functions
+++ b/functions
@@ -341,10 +341,10 @@ parse_hook() {
for item in $MODULES; do
if [[ ${item:(-1)} = '?' ]]; then
- try=--try
- item=${item%\?}
+ add_module --try "${item%\?}"
+ else
+ add_module "$item"
fi
- add_module $try "$item"
done
for item in $BINARIES; do