summaryrefslogtreecommitdiffstats
path: root/meta/bin/update
diff options
context:
space:
mode:
Diffstat (limited to 'meta/bin/update')
-rwxr-xr-xmeta/bin/update4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/bin/update b/meta/bin/update
index 717b9e90..9b2289ad 100755
--- a/meta/bin/update
+++ b/meta/bin/update
@@ -4,12 +4,12 @@ set -euf
cd $(dirname $(readlink -f $0))/../..
id=`ls -lnd . | awk '{print$3}'`
-echo "// is $PWD owned by $id"
-
if test "${nosudo-false}" != true -a `id -u` != $id; then
echo "we're going sudo..." >&2
exec sudo -u "#$id" "$0" "$@"
exit 23 # go to hell
fi
+echo "// is $PWD owned by $id"
+
git pull