10 lines
131 B
Bash
Executable File
10 lines
131 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Allows Ctrl-C, by letting this sh process act as PID 1
|
|
exit_func() {
|
|
exit 1
|
|
}
|
|
trap exit_func SIGTERM SIGINT
|
|
|
|
"$@"
|