autodlctl: Fixed a bug in reading the badsizes list
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sat, 16 May 2009 23:45:33 +0000 (23:45 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sat, 16 May 2009 23:45:33 +0000 (23:45 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1120 959494ce-11ee-0310-bf91-de5d638817bd

autodlctl

index 9e83a6b..134fb8d 100755 (executable)
--- a/autodlctl
+++ b/autodlctl
@@ -44,7 +44,7 @@ function getnext
        badsizesl="$(sed -n "s/^0*$curep \([^#]*\)\( *#.*\)\?$/\1/p" badsizes)"
     fi
     if [ -n "$badsizesl" ]; then
-       read -a badsizes <<<"$badsizesl"
+       read -d/ -a badsizes <<<"$badsizesl"
        unset badsizesl
        echo "found bad size list: ${badsizes[@]}"
     fi