Skip to content

Commit

Permalink
adding hour padding of 0 to align with Postgres numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
FxKu committed Sep 20, 2024
1 parent f476cca commit 8b4ced7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres-appliance/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ for i in $(seq 0 7); do
touch "${PGLOG}/postgresql-${i}.csv"
fi
else
for h in $(seq 0 23); do
for h in $(seq -w 0 23); do
if [ ! -f "${PGLOG}/postgresql-${i}-${h}.csv" ]; then
touch "${PGLOG}/postgresql-${i}-${h}.csv"
fi
Expand Down

0 comments on commit 8b4ced7

Please sign in to comment.