[node-patches] Change in ovirt-node[master]: init: Don't trap all signals

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Jul 15 11:50:55 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: init: Don't trap all signals
......................................................................

init: Don't trap all signals

The main reason for removing the trap is to pass the the signal back to
the caller of the init script (systemd, sysV) to enable a better
debugging.

Change-Id: I4b7218ef80ac51834445477e1a57f5a64ca3dc2c
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/56/16856/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index bc5c5f9..e6cf059 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -1037,7 +1037,7 @@
 VAR_SUBSYS_OVIRT_FIRSTBOOT=/var/lock/subsys/ovirt-firstboot
 
 trap '__st=$?; stop_log; exit $__st' 0
-trap 'exit $?' 1 2 13 15
+#trap 'exit $?' 1 2 13 15
 
 check_version(){
     if [ -e "/dev/HostVG/Root" ]; then


-- 
To view, visit http://gerrit.ovirt.org/16856
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b7218ef80ac51834445477e1a57f5a64ca3dc2c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list