From 6853df3822db3ed3f00d76a61ec374e597f55161 Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Fri, 21 Jan 2011 00:37:41 -0800 Subject: Switching newrepo cgi to use --batch interface --- pinyweb/cgi-bin/auth/newrepo.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pinyweb/cgi-bin') 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; }; -- cgit v1.2.3