dracut/0006-dracut-functions-bashified-ret-ret-to-ret.patch
Harald Hoyer d97cfae779 - fixed dhcp
- added /lib/firmware/updates to firmware directories
- fixed LiveCD /dev/.initramfs fallback
- fixed cdrom polling
- dropped net-tools dependency
2011-03-30 13:36:40 +02:00

23 lines
722 B
Diff

From a16ebfd56abfb02f28b72a74c68c24501e2a75d7 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Tue, 29 Mar 2011 11:30:27 +0200
Subject: [PATCH] dracut-functions: bashified ret=ret+$? to ret+=$?
---
dracut-functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dracut-functions b/dracut-functions
index 2accaec..2fc2471 100755
--- a/dracut-functions
+++ b/dracut-functions
@@ -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