testing more beautiful approach

This commit is contained in:
pika 2025-05-21 18:30:42 +02:00
parent 7a2a8460cf
commit d4a00af5c5

View file

@ -303,6 +303,8 @@ main() {
if $silent; then
echo_warning "Executing script silently!"
else
silent=false
fi
checkEnv
@ -334,7 +336,7 @@ if getImports; then
for arg in "$@"; do
case "$arg" in
--silent | -s)
export silent=true
silent=true
;;
esac
done