Save a subshell here

This commit is contained in:
Jack Nagel 2013-03-02 23:28:27 -06:00
parent 7b23870b98
commit c75a7decb7

View File

@ -38,7 +38,7 @@ def main
# Force any future invocations of sudo to require the user's password to be
# re-entered. This is in-case any build script call sudo. Certainly this is
# can be inconvenient for the user. But we need to be safe.
system "/usr/bin/sudo -k"
system "/usr/bin/sudo", "-k"
install(Formula.factory($0))
rescue Exception => e