change: use printf

This commit is contained in:
aclist committed 2024-12-05 08:04:29 +09:00
1 parent ac3055ce39
commit ef3fffca47
1 file changed
+1 -1
+1 -1
View File
@@ -343,7 +343,7 @@ list_mods(){
local base_dir local base_dir
local size local size
if [[ -z $(installed_mods) ]] || [[ -z $(find $workshop_dir -maxdepth 2 -name "*.cpp" | grep .cpp) ]]; then if [[ -z $(installed_mods) ]] || [[ -z $(find $workshop_dir -maxdepth 2 -name "*.cpp" | grep .cpp) ]]; then
echo "No mods currently installed or incorrect path set." printf "No mods currently installed or incorrect path set."
logger WARN "Found no locally installed mods" logger WARN "Found no locally installed mods"
return 1 return 1
else else