Blame 0006-dracut-functions-bashified-ret-ret-to-ret.patch
|
Harald Hoyer |
d97cfa |
From a16ebfd56abfb02f28b72a74c68c24501e2a75d7 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
d97cfa |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
d97cfa |
Date: Tue, 29 Mar 2011 11:30:27 +0200
|
|
Harald Hoyer |
d97cfa |
Subject: [PATCH] dracut-functions: bashified ret=ret+$? to ret+=$?
|
|
Harald Hoyer |
d97cfa |
|
|
Harald Hoyer |
d97cfa |
---
|
|
Harald Hoyer |
d97cfa |
dracut-functions | 2 +-
|
|
Harald Hoyer |
d97cfa |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
d97cfa |
|
|
Harald Hoyer |
d97cfa |
diff --git a/dracut-functions b/dracut-functions
|
|
Harald Hoyer |
d97cfa |
index 2accaec..2fc2471 100755
|
|
Harald Hoyer |
d97cfa |
--- a/dracut-functions
|
|
Harald Hoyer |
d97cfa |
+++ b/dracut-functions
|
|
Harald Hoyer |
d97cfa |
@@ -787,7 +787,7 @@ instmods() {
|
|
Harald Hoyer |
d97cfa |
# it may require
|
|
Harald Hoyer |
d97cfa |
for_each_kmod_dep install_kmod_with_fw $mod \
|
|
Harald Hoyer |
d97cfa |
--set-version $kernel ${moddirname}
|
|
Harald Hoyer |
d97cfa |
- ret=$((ret+$?))
|
|
Harald Hoyer |
d97cfa |
+ ((ret+=$?))
|
|
Harald Hoyer |
d97cfa |
;;
|
|
Harald Hoyer |
d97cfa |
esac
|
|
Harald Hoyer |
d97cfa |
shift
|