Andrew Boie | 495d922 | 2017-02-03 00:57:25 -0800 | [diff] [blame] | 1 | #!/bin/bash |
2 | # Copyright (c) 2017 Intel Corporation | ||||
3 | # SPDX-License-Identifier: Apache-2.0 | ||||
4 | |||||
Mazen NEIFER | 6683f13 | 2017-02-07 16:59:29 +0100 | [diff] [blame] | 5 | trap "kill $1" SIGINT |
Andrew Boie | 495d922 | 2017-02-03 00:57:25 -0800 | [diff] [blame] | 6 | while kill -0 $1 2> /dev/null; do sleep 1; done; |