From 937c889867a06a28eab0b3f9a2be38c39927bf7e Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 7 Aug 2018 10:07:23 +0800 Subject: [PATCH] - fk. --- deploy/cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/cleanup.sh b/deploy/cleanup.sh index ff0bc3378..0fdb06c2a 100755 --- a/deploy/cleanup.sh +++ b/deploy/cleanup.sh @@ -4,6 +4,6 @@ if [ ! -d "backup" ]; then mkdir backup fi -if [ -f "jx-callback.*~" ]; then +if ls jx-callback.*~ > /dev/null 2>&1; then mv jx-callback.*~ backup/ -fi +fi \ No newline at end of file