diff --git a/dbench b/dbench index 196a1239..db7f019c 100644 --- a/dbench +++ b/dbench @@ -33,8 +33,8 @@ if [[ $# -eq 0 ]]; then elif [ $1 == '--init' ]; then site=$2 - if ! $2; then set -- "${@:1}" "site1.local" && site=$2; fi - if ! $3; then set -- "${@:1:2}" "site1.local" && site=$3; fi + if ! $2; then site="site1.local"; fi + if ! $3; then site="site1.local"; fi echo "$site" frappe_installer $site if [ "$2" == '-e' ]; then