summaryrefslogtreecommitdiff
path: root/pinyweb
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2011-01-21 00:37:41 -0800
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2011-01-21 00:37:41 -0800
commit6853df3822db3ed3f00d76a61ec374e597f55161 (patch)
tree19516017cb01f1db20e6ca01d9118398b038a1b9 /pinyweb
parent1813a504d9c59240cd830a6b1259d6f8f511ef96 (diff)
downloadpiny-code-6853df3822db3ed3f00d76a61ec374e597f55161.tar.gz
piny-code-6853df3822db3ed3f00d76a61ec374e597f55161.zip
Switching newrepo cgi to use --batch interface
Diffstat (limited to 'pinyweb')
-rwxr-xr-xpinyweb/cgi-bin/auth/newrepo.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/auth/newrepo.cgi b/pinyweb/cgi-bin/auth/newrepo.cgi
index 450fa82..ad3cdd7 100755
--- a/pinyweb/cgi-bin/auth/newrepo.cgi
+++ b/pinyweb/cgi-bin/auth/newrepo.cgi
@@ -12,7 +12,7 @@ $q = CGI->new;
print( "Content-type: text/plain\n\n");
if( $q->param('n') && $q->param('d') ) {
- unless( open2( OUT, IN, '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'newrepo', $q->param('n') ) ) {
+ unless( open2( OUT, IN, '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'newrepo', '--batch', $q->param('n') ) ) {
print 'could not execute newrepo';
die;
};