Skip to content
Browse files

Sudo keep alive.

  • Loading branch information...
1 parent 60eb39d commit d698f54f99b58804ca9fbc8380734214c2c0466e Tom Lane committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 setup/install.sh
View
1 setup/install.sh
@@ -165,6 +165,7 @@ echo ""
if [ "$NEEDSUDO" -eq 1 ]; then
echo "Please authorize the installer:"
sudo -v
+ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
fi
# set the temp dir

0 comments on commit d698f54

Please sign in to comment.
Something went wrong with that request. Please try again.