Skip to content

Commit

Permalink
Fix broken full-nav-restore.sh script
Browse files Browse the repository at this point in the history
After the Docker development container was re-engineered (in #2859) to
run as a non-root user, this helper script stopped working, as it now
needs sudo to run the nav start/stop command.
  • Loading branch information
lunkwill42 committed Apr 30, 2024
1 parent 5c5c202 commit cd8148c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/docker/full-nav-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if ! which navsyncdb 2>/dev/null; then
echo "NAV source directory not correctly mounted on /source" > /dev/stderr
exit 1
fi
nav stop
sudo nav stop
export PGHOST=postgres
export PGUSER=postgres

Expand Down

0 comments on commit cd8148c

Please sign in to comment.