From 806eeae7d278680d578bb666167c869303a4a715 Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 7 May 2021 16:16:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dshell=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E8=87=AA=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/share.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/share.sh b/shell/share.sh index fe73663e..530b89e3 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + ## 目录 dir_root=/ql dir_shell=$dir_root/shell @@ -51,7 +53,7 @@ import_config () { [ -f $file_config_user ] && . $file_config_user user_sum=0 for line in $(cat $file_cookie); do - let user_sum++ + let user_sum+=1 eval Cookie${user_sum}="\"$line\"" done }