File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ while [[ $# -gt 0 ]]; do
6161 case $1 in
6262 --workspace-dir)
6363 if [[ $# -lt 2 ]]; then
64- echo " Error: --workspace-dir requires a value"
64+ echo " Error: --workspace-dir requires a value" >&2
6565 usage
6666 exit 1
6767 fi
@@ -70,7 +70,7 @@ while [[ $# -gt 0 ]]; do
7070 ;;
7171 --max-umount-passes)
7272 if [[ $# -lt 2 ]]; then
73- echo " Error: --max-umount-passes requires a value"
73+ echo " Error: --max-umount-passes requires a value" >&2
7474 usage
7575 exit 1
7676 fi
@@ -94,17 +94,17 @@ while [[ $# -gt 0 ]]; do
9494done
9595
9696if ! WORKSPACE_DIR=" $( realpath -m " $WORKSPACE_DIR " 2> /dev/null) " ; then
97- echo " Failed to resolve workspace directory path: $WORKSPACE_DIR "
97+ echo " Failed to resolve workspace directory path: $WORKSPACE_DIR " >&2
9898 exit 1
9999fi
100100
101101if [[ " $WORKSPACE_DIR " == " /" ]]; then
102- echo " Refusing to remove root directory"
102+ echo " Refusing to remove root directory" >&2
103103 exit 1
104104fi
105105
106106if [[ " $WORKSPACE_DIR " != " $REPO_ROOT /workspace" && " $FORCE_DELETE " != true ]]; then
107- echo " Refusing to remove non-default workspace directory without --force: $WORKSPACE_DIR "
107+ echo " Refusing to remove non-default workspace directory without --force: $WORKSPACE_DIR " >&2
108108 exit 1
109109fi
110110
You can’t perform that action at this time.
0 commit comments