mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 07:00:05 +08:00
15 lines
215 B
Bash
15 lines
215 B
Bash
#!/bin/sh
|
|
#
|
|
# A test script that ignores SIGTERM.
|
|
|
|
trap 'echo not stopping on SIGTERM' TERM
|
|
# trap 'echo stopping on SIGHUP; exit' HUP
|
|
|
|
echo "Started: $$"
|
|
c=0
|
|
while true; do
|
|
c=$((c + 1))
|
|
echo $c
|
|
sleep .1
|
|
done
|