diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2021-05-14 19:40:53 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2021-05-14 19:40:53 +0200 |
commit | 56e7230c96d169de775395cba272ceb19e888b21 (patch) | |
tree | 27b396e9cc6d1a9d0a02f2ee7a8b1ddcf5cd175a | |
parent | 79cac7f4f1200aca200586611bf475e48b8ec2eb (diff) | |
download | patchmatrix-56e7230c96d169de775395cba272ceb19e888b21.tar.xz |
use _exit instead of exit insde forked process.
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | patchmatrix_db.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1 +1 @@ -0.25.5 +0.25.7 diff --git a/patchmatrix_db.c b/patchmatrix_db.c index b02013c..54285e8 100644 --- a/patchmatrix_db.c +++ b/patchmatrix_db.c @@ -838,7 +838,7 @@ _mixer_spawn(app_t *app, unsigned nsinks, unsigned nsources) }; execvp(argv[0], argv); - exit(-1); + _exit(-errno); } } @@ -893,7 +893,7 @@ _monitor_spawn(app_t *app, unsigned nsinks) }; execvp(argv[0], argv); - exit(-1); + _exit(-errno); } } |