Clearer test output.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user