Commit 4ad740bc authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

common: Tidied symbiosis-ssl to return a sane exit code.

I'm not sure the trap needs to be there at all really..
parent 71ee323a
......@@ -123,10 +123,7 @@ end
exit_code = 0
#
#
#
%w(QUIT INT TERM).each do |sig|
%w(INT TERM).each do |sig|
trap(sig) do
if 0 == Process.uid
......@@ -134,7 +131,7 @@ exit_code = 0
Process.egid = 0
end
exit exit_code
exit 1
end
end
......@@ -150,3 +147,5 @@ domains.each do |domain|
end
end
exit exit_code
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment