]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
fix: read arguments
authorBastian Dehn <hhaalo@arcor.de>
Tue, 21 Nov 2017 21:06:55 +0000 (22:06 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 21 Nov 2017 21:06:55 +0000 (22:06 +0100)
albentohandy

index 98ad6961c6c61c809842c71cc57a32bef7fb5f98..219ef9f1b9aee57ded3ba7cd15ec19480248d194 100755 (executable)
@@ -153,7 +153,7 @@ main() {
        cptodest=false
 
        # read parameters
-       while getopts ":c:hi:m:S::rw:z:" optname; do
+       while getopts "chi:m:S:rw:z:" optname; do
                case "$optname" in
                "c")
                        checksum=true