summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2010-12-09 20:18:06 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2010-12-09 20:18:06 +0100
commita2149a86818d3d7c2fb82e7b3f9ed8785c04542f (patch)
treef5964d39a64663f0191ea51fb84910229077c750 /src/core
parent65b8e85c05bc0b947390e38f60933b323a8c0446 (diff)
make run_controlled actually return the right exitcode
this fixed exit code feedback for package installation and mkinitcpio
Diffstat (limited to 'src/core')
-rw-r--r--src/core/libs/lib-misc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/libs/lib-misc.sh b/src/core/libs/lib-misc.sh
index 1a75e43..d0548fe 100644
--- a/src/core/libs/lib-misc.sh
+++ b/src/core/libs/lib-misc.sh
@@ -31,6 +31,7 @@ run_controlled ()
CONTROLLED_EXIT=$?
fi
debug 'MISC' "run_controlled done with $1: exitcode (\$CONTROLLED_EXIT): $CONTROLLED_EXIT .Logfile $3"
+ return $CONTROLLED_EXIT
}