Clearer test output.

This commit is contained in:
Stephane Gourichon
2025-08-15 19:08:39 +02:00
parent 75395128f5
commit 929f22861d

View File

@@ -36,6 +36,8 @@ if [[ "$INSTALL" == true ]]
then then
while IFS="" read -u 3 -r MONITOR_SCRIPT_PATH while IFS="" read -u 3 -r MONITOR_SCRIPT_PATH
do do
echo >&2
echo >&2 "Will run: $MONITOR_SCRIPT_PATH"
if [[ "$MONITOR_SCRIPT_PATH" != "$(printf %q "$MONITOR_SCRIPT_PATH" )" ]] if [[ "$MONITOR_SCRIPT_PATH" != "$(printf %q "$MONITOR_SCRIPT_PATH" )" ]]
then then
echo >&2 "WARNING: path seems unsafe: $MONITOR_SCRIPT_PATH" echo >&2 "WARNING: path seems unsafe: $MONITOR_SCRIPT_PATH"