diff options
Diffstat (limited to 'pinyweb/cgi-bin/auth/rebuildrepo.cgi')
-rwxr-xr-x | pinyweb/cgi-bin/auth/rebuildrepo.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/auth/rebuildrepo.cgi b/pinyweb/cgi-bin/auth/rebuildrepo.cgi index 912e004..1452573 100755 --- a/pinyweb/cgi-bin/auth/rebuildrepo.cgi +++ b/pinyweb/cgi-bin/auth/rebuildrepo.cgi @@ -14,7 +14,7 @@ $q = CGI->new; print( "Content-type: text/plain\n\n"); if( defined( $q->param('r') ) ) { - unless ( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'rebuildrepo', $q->param('r') ) == 0 ) { + unless ( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'rebuildrepo', scalar( $q->param('r') ) ) == 0 ) { die( 'rebuildrepo was unsuccessful.' ); }; } else { |