From 484a82b00b995fe2ec6b447e374e71d17763bbb1 Mon Sep 17 00:00:00 2001 From: shenmo Date: Sun, 9 Apr 2023 02:30:26 +0000 Subject: [PATCH] update tool/ssinstall. Signed-off-by: shenmo --- tool/ssinstall | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tool/ssinstall b/tool/ssinstall index 94fdcc6..25bf508 100755 --- a/tool/ssinstall +++ b/tool/ssinstall @@ -76,18 +76,21 @@ IS_MD5SUM_CHECKD=`cat $PACKAGES_DATA_PATH | grep $DEB_MD5SUM` if [ $# -eq 0 ];then echo "没有接收到参数,退出" echo "用法:$0 deb路径" +echo "OMG-IT-GOES-WRONG" exit fi if [ ! -f "$1" ] then echo "${TRANSHELL_CONTENT_FILE_NOT_EXIST}" + echo "OMG-IT-GOES-WRONG" exit 1 fi if [ "$(id -u)" != "0" ];then #############################无root权限时 echo "${TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT}" +echo "OMG-IT-GOES-WRONG" exit 1 fi