mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
test: whitespace changes only
Coding style for shell scripts: - Tabs for indent (change in Emacs needed) - Braces on their own line, like C functions Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
879721839e
commit
6f802a7ff1
14 files changed
+216
-187
No files matched your search
@@ -2,9 +2,9 @@
|
||||
|
||||
cleanup()
|
||||
{
|
||||
echo "Got signal, stopping ..."
|
||||
rm -f /run/service.pid
|
||||
exit 0
|
||||
echo "Got signal, stopping ..."
|
||||
rm -f /run/service.pid
|
||||
exit 0
|
||||
}
|
||||
|
||||
# Hook SIGUSR1 and dump trace to file system
|
||||
@@ -20,5 +20,5 @@ echo $$ > /run/service.pid
|
||||
# sleep may exit on known signal, so
|
||||
# we cannot use 'set -e'
|
||||
while true; do
|
||||
sleep 1
|
||||
sleep 1
|
||||
done
|
||||
Reference in new issue
Block a user