fix: fix error not exiting script on error

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel 2023-04-18 17:21:30 +02:00
parent e3bd2e2e57
commit 42ce0ba297
No known key found for this signature in database
GPG Key ID: F465B83ACBA45639
12 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
# Base Path # Base Path
BASE_CN_PATH="$(dirname "$(readlink -f "${0}")")" BASE_CN_PATH="$(dirname "$(readlink -f "${0}")")"

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
function run_multi() { function run_multi() {
local cams local cams

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
# Read Configuration File # Read Configuration File
# call get_param section param # call get_param section param

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
## Version of crowsnest ## Version of crowsnest
function self_version { function self_version {

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
### Detect Hardware ### Detect Hardware
detect_avail_cams() { detect_avail_cams() {

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
## Start Stream Service ## Start Stream Service
# sleep to prevent cpu cycle spikes # sleep to prevent cpu cycle spikes

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
## Logging ## Logging
function set_log_path { function set_log_path {

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
## Message Helpers ## Message Helpers

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
run_mjpg() { run_mjpg() {
local cams local cams

View File

@ -16,7 +16,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -eE set -Eeou
function v4l2_control { function v4l2_control {
v4c_log_msg() { v4c_log_msg() {

View File

@ -16,7 +16,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
versioncontrol() { versioncontrol() {

View File

@ -14,7 +14,7 @@
# shellcheck enable=require-variable-braces # shellcheck enable=require-variable-braces
# Exit upon Errors # Exit upon Errors
set -Ee set -Eeou
#### Watchdog Functions and Variables #### Watchdog Functions and Variables
## Do not reuse functions from other libs/scripts! ## Do not reuse functions from other libs/scripts!