[DRE-commits] [ruby-aruba] 10/74: Make the command exit with 0
Hideki Yamane
henrich at moszumanska.debian.org
Sat Nov 28 01:16:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository ruby-aruba.
commit b6d81ffcd3732592249490bfe648cb91d77062d9
Author: Max Meyer <dev at fedux.org>
Date: Mon Nov 23 16:35:39 2015 +0100
Make the command exit with 0
---
features/api/command/send_signal.feature | 3 +++
1 file changed, 3 insertions(+)
diff --git a/features/api/command/send_signal.feature b/features/api/command/send_signal.feature
index a2f471b..6e65207 100644
--- a/features/api/command/send_signal.feature
+++ b/features/api/command/send_signal.feature
@@ -12,8 +12,11 @@ Feature: Send running command a signal
"""ruby
#!/usr/bin/env ruby
+ $stderr.puts 'Now I run the code'
+
Signal.trap 'USR1' do
$stderr.puts 'Exit...'
+ exit 0
end
loop { sleep 1 }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git
More information about the Pkg-ruby-extras-commits
mailing list