aboutsummaryrefslogtreecommitdiffstats
path: root/utility/trunc_and_populate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utility/trunc_and_populate.sh')
-rwxr-xr-xutility/trunc_and_populate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/trunc_and_populate.sh b/utility/trunc_and_populate.sh
index 1e319a2..40c049b 100755
--- a/utility/trunc_and_populate.sh
+++ b/utility/trunc_and_populate.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
echo "Truncating the database."
-psql -U postgres -a -f /home/lemon/code/python/ctrack/utility/truncate_script.sql ctrack
+sudo -u postgres psql -f utility/truncate_script.sql ctrack
sleep 1