diff --git a/app/lib/citadelutils.py b/app/lib/citadelutils.py index 0d80aff..d383d61 100644 --- a/app/lib/citadelutils.py +++ b/app/lib/citadelutils.py @@ -5,7 +5,9 @@ import re # Helper functions -# Return a list of env vars in a string, supports both $NAMĀ§ and ${NAME} format for the env var + + +# Return a list of env vars in a string, supports both $NAME and ${NAME} format for the env var # This can potentially be used to get around permissions, so this check is critical for security # Please report any security vulnerabilities you find in this check to aaron.dewes@protonmail.com def getEnvVars(string: str): diff --git a/karen b/karen index 20a0041..669174e 100755 --- a/karen +++ b/karen @@ -67,7 +67,7 @@ fswatch -0 --event=PlatformSpecific $signal_dir | while read -d "" event; do # If the signal starts wih app-, the trigger is "$trigger_dir/app" # and the args are the rest of the signal - if [[ "$signal" =~ ^app- ]]; then + if [[ "$signal" =~ ^app- ]] && [[ "$signal" != "app-update" ]]; then trigger="$trigger_dir/app" args="${signal#"app-"}" fi