This commit fixes the issue that appears when wondershaper is running under systemctl. wondershaper -c -a would cause systemctl to treat the service as failed due to missing exit code 0.
wondershaper.service - Bandwidth shaper/Network rate limiter
Loaded: loaded (/usr/lib/systemd/system/wondershaper.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since di 2020-12-01 11:57:44 CET; 1min 30s ago
Process: 13281 ExecStop=/usr/bin/wondershaper -c -a $IFACE (code=exited, status=2)
This commit fixes the issue that appears when wondershaper is running under systemctl. wondershaper -c -a would cause systemctl to treat the service as failed due to missing exit code 0.
wondershaper.service - Bandwidth shaper/Network rate limiter Loaded: loaded (/usr/lib/systemd/system/wondershaper.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since di 2020-12-01 11:57:44 CET; 1min 30s ago Process: 13281 ExecStop=/usr/bin/wondershaper -c -a $IFACE (code=exited, status=2)