Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap.sh bug #4

Closed
clausmuus opened this issue Jul 5, 2017 · 3 comments
Closed

bootstrap.sh bug #4

clausmuus opened this issue Jul 5, 2017 · 3 comments

Comments

@clausmuus
Copy link

clausmuus commented Jul 5, 2017

Hi,

there is a bug in the bootstrap.sh. Here is a fix:

--- bootstrap.sh.orig   2017-07-04 15:54:54.000000000 +0200
+++ bootstrap.sh        2017-07-05 10:29:14.749407999 +0200
@@ -15,7 +15,7 @@

 # define shutdown helper
 function shutdown() {
-    trap "" SUBS
+    trap "" SIGINT

     for single in $pidlist; do
         if ! kill -0 $pidlist 2>/dev/null; then
@@ -28,7 +28,7 @@
 }

 # run shutdown
-trap terminate SUBS
+trap shutdown SIGINT
 wait

 # return received result

mko-x pushed a commit that referenced this issue Jul 5, 2017
Mentioned by @clausmuus in #4
@mko-x
Copy link
Owner

mko-x commented Jul 5, 2017

Thank you very much.

Fixed in e306227

@clausmuus
Copy link
Author

Hi,

you have overlook the change of 'terminate' to 'shutdown' in the second change of my patch.

@mko-x
Copy link
Owner

mko-x commented Jul 5, 2017

arr, that's why it didn't work - thank you again.

See 0a5302a

@mko-x mko-x closed this as completed Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants