diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-09-10 14:33:38 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-09-10 14:33:38 +0200 |
commit | b1f7f431e6987dd3d1b4d3c91f28de6315017dc2 (patch) | |
tree | 2b3b1df174a55177e4340248ca95ee5e8eed33d2 | |
parent | 986947dbf574fad9312818865b7bcecafc4d1c40 (diff) | |
download | NetworkManager-b1f7f431e6987dd3d1b4d3c91f28de6315017dc2.tar.gz |
contrib/modemu: also clean up on SIGTERM
-rwxr-xr-x | contrib/test/modemu.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/test/modemu.pl b/contrib/test/modemu.pl index 4b8822181b..ed9fea03d9 100755 --- a/contrib/test/modemu.pl +++ b/contrib/test/modemu.pl @@ -136,6 +136,7 @@ sub cleanup # Ensure we clean up before and after. END { cleanup }; $SIG{INT} = sub { cleanup; die }; +$SIG{TERM} = sub { cleanup; die }; cleanup; my $pty = new IO::Pty; |