Skip to content

Commit 3c8b2a2

Browse files
committed
read the output before terminal is closed
1 parent 8fa9986 commit 3c8b2a2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/cleanup.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ cd $MY_HOME
1515

1616
if [ -z "${SHOW_FINDING}" ]; then
1717
echo "${TIMESTAMP} INFO No ${PYCACHE} found."
18+
read
1819
exit 2
1920
else
2021
find . -type d -name "${PYCACHE}" -exec rm -rf {} +
2122
echo "${TIMESTAMP} INFO Cleanup is completed."
23+
read
2224
exit 0
2325
fi
24-
25-
sleep 5
26-

0 commit comments

Comments
 (0)