]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions: bashified ret=ret+$? to ret+=$?
authorHarald Hoyer <harald@redhat.com>
Tue, 29 Mar 2011 09:30:27 +0000 (11:30 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Mar 2011 09:30:27 +0000 (11:30 +0200)
dracut-functions

index 2accaec1b3845b3c6be65703740ffa5604fab2d2..2fc24718f3b4c8d1938b78ed255dd16b6c184bf6 100755 (executable)
@@ -787,7 +787,7 @@ instmods() {
                 # it may require
                 for_each_kmod_dep install_kmod_with_fw $mod \
                     --set-version $kernel ${moddirname}
-                ret=$((ret+$?))
+                ((ret+=$?))
                 ;;
         esac
         shift