From bfc315f01d98a2d666e8ecc28e6355655256df0d Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 2 Aug 2022 23:02:45 -0500 Subject: Shellcheck --- shatom | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shatom b/shatom index 3f9adac..7b149a9 100755 --- a/shatom +++ b/shatom @@ -45,6 +45,7 @@ main() { # Configuration file if [ -f "${CONFIG:=$PWD/shatom.conf.sh}" ]; then + # shellcheck source=/dev/null . "$CONFIG" fi @@ -170,5 +171,5 @@ item_updated() { ### Execution section -test -n $DEBUG && set -x -test -n $SOURCE || main "$@" +test -n "$DEBUG" && set -x +test -n "$SOURCE" || main "$@" -- cgit 1.4.1-21-gabe81