From eb7b9245164c03ac92980b0ec124c8c44969ceef Mon Sep 17 00:00:00 2001 From: Nickola Trupcheff Date: Sun, 31 Mar 2019 13:50:51 +0300 Subject: [PATCH] fixed typo in getopt because of missing ':', -d param was ignored --- scripts/setup-seafile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-seafile.sh b/scripts/setup-seafile.sh index 8c047b26..5c340d78 100755 --- a/scripts/setup-seafile.sh +++ b/scripts/setup-seafile.sh @@ -354,7 +354,7 @@ function copy_user_manuals() { } function parse_params() { - while getopts n:i:p:d arg; do + while getopts n:i:p:d: arg; do case $arg in n) server_name=${OPTARG}