File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 39
39
id : get_version
40
40
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
41
41
run : |
42
- VERSION=$(grep -oP '(?<= #define VERSION\s+")[^"]+ ' main.c || true )
42
+ VERSION=$(grep ' #define VERSION' main.c | sed -E 's/.*"([^"]+)".*/\1/' )
43
43
if [ -z "$VERSION" ]; then
44
44
echo "Failed to extract VERSION from main.c"; exit 1
45
45
fi
Original file line number Diff line number Diff line change @@ -371,7 +371,6 @@ Or just `./run.sh &` which is recommended.
371
371
372
372
## TODO
373
373
- Attaching to already running processes
374
- - Create releases
375
374
- Enable commands over UDP
376
375
- Enable remote syslog server reporting
377
376
- Add periodic server health reporting
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ sleep 5
21
21
# Cleanup handler
22
22
cleanup () {
23
23
echo " Cleaning up... killing $pid "
24
- kill $pid 2> /dev/null
24
+ kill -SIGUSR1 $pid 2> /dev/null
25
25
}
26
26
trap cleanup EXIT
27
27
You can’t perform that action at this time.
0 commit comments