Skip to content
Snippets Groups Projects
Commit 51fb5e93 authored by Ali Mohammed's avatar Ali Mohammed
Browse files

Merge branch '62-waiting-for-pm-to-terminate-properly' into 'devel'

Resolve "Waiting for PM to terminate properly"

Closes #62

See merge request !26
parents 3bbc6dbe 310b43b4
Branches
No related tags found
1 merge request!26Resolve "Waiting for PM to terminate properly"
Pipeline #76473 failed
...@@ -34,6 +34,8 @@ terminate () { ...@@ -34,6 +34,8 @@ terminate () {
# will make it receive a SIGPIPE eventually, which initiates # will make it receive a SIGPIPE eventually, which initiates
# termination. # termination.
exec 3<&- exec 3<&-
echo "waiting pm to terminate"
wait
exit ${2:-99} exit ${2:-99}
} }
......
...@@ -34,6 +34,8 @@ terminate () { ...@@ -34,6 +34,8 @@ terminate () {
# will make it receive a SIGPIPE eventually, which initiates # will make it receive a SIGPIPE eventually, which initiates
# termination. # termination.
exec 3<&- exec 3<&-
echo "waiting pm to terminate"
wait
exit ${2:-99} exit ${2:-99}
} }
......
...@@ -34,6 +34,8 @@ terminate () { ...@@ -34,6 +34,8 @@ terminate () {
# will make it receive a SIGPIPE eventually, which initiates # will make it receive a SIGPIPE eventually, which initiates
# termination. # termination.
exec 3<&- exec 3<&-
echo "waiting pm to terminate"
wait
exit ${2:-99} exit ${2:-99}
} }
......
...@@ -60,6 +60,8 @@ terminate () { ...@@ -60,6 +60,8 @@ terminate () {
# will make it receive a SIGPIPE eventually, which initiates # will make it receive a SIGPIPE eventually, which initiates
# termination. # termination.
exec 3<&- exec 3<&-
echo "waiting pm to terminate"
wait
exit ${2:-99} exit ${2:-99}
} }
......
...@@ -58,6 +58,8 @@ terminate () { ...@@ -58,6 +58,8 @@ terminate () {
# will make it receive a SIGPIPE eventually, which initiates # will make it receive a SIGPIPE eventually, which initiates
# termination. # termination.
exec 3<&- exec 3<&-
echo "waiting pm to terminate"
wait
exit ${2:-99} exit ${2:-99}
} }
......
...@@ -64,6 +64,8 @@ terminate () { ...@@ -64,6 +64,8 @@ terminate () {
# will make it receive a SIGPIPE eventually, which initiates # will make it receive a SIGPIPE eventually, which initiates
# termination. # termination.
exec 3<&- exec 3<&-
echo "waiting pm to terminate"
wait
exit ${2:-99} exit ${2:-99}
} }
......
...@@ -65,6 +65,8 @@ terminate () { ...@@ -65,6 +65,8 @@ terminate () {
# will make it receive a SIGPIPE eventually, which initiates # will make it receive a SIGPIPE eventually, which initiates
# termination. # termination.
exec 3<&- exec 3<&-
echo "waiting pm to terminate"
wait
exit ${2:-99} exit ${2:-99}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment