BrewPi/brewpi-tools — pull request #21 by vanosg (2014-03-30 02:43:29+00:00)
Title: Run as root

When running from a root-owned directory location, we encounter issues as we have to run some commands as the brewpi user, which doesn't have permission to 'be' in the root-owned directory. This patch adds a check to ensure the user is only in a place where he belongs!