[sysadmin-bin: 69/168] Remove explicit invocation of sudo from finish-import



commit 54c2d36a4cb915f570b8633c3725782e3e387a18
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Wed Mar 25 10:52:55 2009 -0400

    Remove explicit invocation of sudo from finish-import
    
    Let update-cgit sudo itself.

 finish-import |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/finish-import b/finish-import
index c23110a..680e87c 100755
--- a/finish-import
+++ b/finish-import
@@ -19,6 +19,6 @@ fi
 echo "Clearing pending flag on $GIT_DIR"
 rm $GIT_DIR/pending
 
-sudo -u gitadmin $BINDIR/update-cgit
+$BINDIR/update-cgit
 
 echo "$name is now ready for use"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]