Skip to content

Commit

Permalink
Update serverid.sh
Browse files Browse the repository at this point in the history
read if rclone.conf exist then create new folder for backups
( fix from installer / fail part )
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Dec 27, 2019
1 parent 8d91344 commit bb48892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu/functions/serverid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ serverid() {
EOF
read -p '🌏 TYPE Server ID | Press [ENTER]: ' typed </dev/tty

if [ "$typed" == "" ]; then
if [[ "$typed" == "" ]]; then
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand Down Expand Up @@ -48,7 +48,7 @@ serveridnew() {
EOF
read -p '🌏 TYPE Server ID | Press [ENTER]: ' typed </dev/tty

if [ "$typed" == "" ]; then
if [[ "$typed" == "" ]]; then
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand Down

0 comments on commit bb48892

Please sign in to comment.