aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-09-19 09:12:00 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-09-19 09:12:00 +0000
commit60b52a3392b4321e848318acb02788383838cc98 (patch)
tree2dbee3505c99bdacf5fadc7348070e9642d12f64 /gen_funcs.sh
parentDisabling dietlibc usage for devfsd and modutils; dietlibc updated to a new (diff)
downloadgenkernel-60b52a3392b4321e848318acb02788383838cc98.tar.gz
genkernel-60b52a3392b4321e848318acb02788383838cc98.tar.bz2
genkernel-60b52a3392b4321e848318acb02788383838cc98.zip
Adding robbat2's patch for bug #62365.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@133 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_funcs.sh')
-rwxr-xr-xgen_funcs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_funcs.sh b/gen_funcs.sh
index 7f9b394..17c7e82 100755
--- a/gen_funcs.sh
+++ b/gen_funcs.sh
@@ -225,7 +225,7 @@ gen_die() {
has_loop() {
dmesg | egrep -q '^loop:'
- if [ -e '/dev/loop0' -o -e '/dev/loop/0' -a $? ]
+ if [ -e '/dev/loop0' -o -e '/dev/loop/0' -a ${PIPESTATUS[1]} ]
then
# We found devfs or standard dev loop device, assume
# loop is compiled into the kernel or the module is loaded