Browse Source

Fix syntax error in getopt command

pull/564/head
Dave Russell 2 months ago
committed by GitHub
parent
commit
ae78f33140
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      syno_hdd_db.sh

1
syno_hdd_db.sh

@ -117,7 +117,6 @@ args=("$@")
# Check for flags with getopt
if options="$(getopt -o SIabcdefghijklmnopqrstuvwxyz0123456789 -l \
ssd:,ihm,restore,showedits,noupdate,nodbupdate,m2,force,incompatible,ram,pcie,wdda,email,autoupdate:,reboot,help,version,debug -- "$@")"; then
-- "$@")"; then
eval set -- "$options"
while true; do
case "$1" in

Loading…
Cancel
Save