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 1
1
#! /bin/bash
2
2
set -euo pipefail
3
3
4
- SCRIPT_VERSION=" 0.0.3 "
4
+ SCRIPT_VERSION=" 0.0.4 "
5
5
6
6
# === Load user configuration ===
7
7
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
8
8
if [ ! -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
10
10
exit 1
11
11
fi
12
12
if ! 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
14
14
exit 1
15
15
fi
16
16
You can’t perform that action at this time.
0 commit comments