grep command formatting

This commit is contained in:
2025-11-19 01:22:55 -06:00
parent 7b16a6c8c2
commit 1cf2be229c
+1 -1
View File
@@ -117,7 +117,7 @@
echo $dev_pass_val echo $dev_pass_val
# Create databases if not exists # Create databases if not exists
if $psql_bin -c "\du" | grep -c \"$db \"; then if $psql_bin -c "\du" | grep -c \""$db" \"; then
echo "$db already exists, skipping creation." echo "$db already exists, skipping creation."
else else
echo "Creating database $db" echo "Creating database $db"