about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-08-02 23:02:45 -0500
committerCase Duckworth2022-08-02 23:02:45 -0500
commitbfc315f01d98a2d666e8ecc28e6355655256df0d (patch)
treec03003d48cf7044dfe34234ec79a9b76b1126395
parentUpdate README (diff)
downloadshatom-bfc315f01d98a2d666e8ecc28e6355655256df0d.tar.gz
shatom-bfc315f01d98a2d666e8ecc28e6355655256df0d.zip
Shellcheck
-rwxr-xr-xshatom5
1 files changed, 3 insertions, 2 deletions
diff --git a/shatom b/shatom index 3f9adac..7b149a9 100755 --- a/shatom +++ b/shatom
@@ -45,6 +45,7 @@ main() {
45 45
46 # Configuration file 46 # Configuration file
47 if [ -f "${CONFIG:=$PWD/shatom.conf.sh}" ]; then 47 if [ -f "${CONFIG:=$PWD/shatom.conf.sh}" ]; then
48 # shellcheck source=/dev/null
48 . "$CONFIG" 49 . "$CONFIG"
49 fi 50 fi
50 51
@@ -170,5 +171,5 @@ item_updated() {
170 171
171### Execution section 172### Execution section
172 173
173test -n $DEBUG && set -x 174test -n "$DEBUG" && set -x
174test -n $SOURCE || main "$@" 175test -n "$SOURCE" || main "$@"