summaryrefslogtreecommitdiffhomepage
path: root/test/test_ruby_application.py
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-02-09 12:37:14 +0100
committerAlejandro Colomar <alx@kernel.org>2024-02-20 16:04:23 +0100
commitcca2c46e4995497c091073d51d7148eac5cf140a (patch)
treec5d4c15c8f66477a428503902a6cfe4119ba681e /test/test_ruby_application.py
parent2765522b94e748d01e449d5508f83ea4a5b46ea5 (diff)
downloadunit-cca2c46e4995497c091073d51d7148eac5cf140a.tar.gz
unit-cca2c46e4995497c091073d51d7148eac5cf140a.tar.bz2
Tools: setup-unit: Use trap(1) to handle cleanup
This allows listening to command exit statuses. Before this change, we had to ignore the exit status of curl(1) (and a few other commands), since otherwise the script would go kaboom and not cleanup the ssh(1) tunnels. Fixes: 543d478e1236 ("Tools: setup-unit: ctl: added "edit" subcommand.") Fixes: 3778877eb3be ("Tools: Added subcommands to setup-unit.") Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'test/test_ruby_application.py')
0 files changed, 0 insertions, 0 deletions