File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22set -euo pipefail
33
4- SCRIPT_VERSION=" 0.0.3 "
4+ SCRIPT_VERSION=" 0.0.4 "
55
66# === Load user configuration ===
77SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
88if [ ! -f " $SCRIPT_DIR /users.conf" ]; then
9- echo " Error: Configuration file 'users.conf' not found in $SCRIPT_DIR . Halting execution." >&2
9+ log_message " Error: Configuration file 'users.conf' not found in $SCRIPT_DIR . Halting execution." >&2
1010 exit 1
1111fi
1212if ! source " $SCRIPT_DIR /users.conf" ; then
13- echo " Error: Failed to load configuration file 'users.conf'. Please check the file for syntax errors. Halting execution." >&2
13+ log_message " Error: Failed to load configuration file 'users.conf'. Please check the file for syntax errors. Halting execution." >&2
1414 exit 1
1515fi
1616
You can’t perform that action at this time.
0 commit comments