We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2505645 commit fc39fd0Copy full SHA for fc39fd0
func/ip.sh
@@ -119,7 +119,7 @@ decrease_ip_value() {
119
120
new_web=$((current_web - 1))
121
check_ip=$(grep $sip $USER_DATA/web.conf |wc -l)
122
- if [ "$check_ip" -lt 2 ]; then
+ if [[ $check_ip = 0 ]]; then
123
new_usr=$(echo "$current_usr" |\
124
sed "s/,/\n/g"|\
125
sed "s/^$user$//g"|\
0 commit comments