From 3e2cd79173961fad2cae4bd0c6bbba547f156533 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 6 Sep 2018 10:47:29 +0100 Subject: [PATCH] Fix unterminated string --- cookbooks/planet/templates/default/users-deleted.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/planet/templates/default/users-deleted.erb b/cookbooks/planet/templates/default/users-deleted.erb index a4d4c71f0..acad844a2 100644 --- a/cookbooks/planet/templates/default/users-deleted.erb +++ b/cookbooks/planet/templates/default/users-deleted.erb @@ -10,7 +10,7 @@ export PGPASSFILE=/etc/replication/users-agreed.conf echo "# user IDs of deleted users. " > $T/users_deleted psql -h <%= node[:web][:readonly_database_host] %> -U planetdiff -t -c "select id from users where status='deleted' order by id asc" openstreetmap >> $T/users_deleted -if cmp -s "${T}/users_deleted "/store/planet/users_deleted.txt"; then +if cmp -s "${T}/users_deleted" "/store/planet/users_deleted.txt"; then : # do nothing else cp $T/users_deleted /store/planet/users_deleted.txt -- 2.39.5