summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin/auth/rmrepo.cgi
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-13 15:15:29 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-13 15:15:29 -0700
commitd9df093f1837f971090def69fb20e5677cb364da (patch)
tree115b6df9f9a03a79cfdd855003b3b7c0b0447e79 /pinyweb/cgi-bin/auth/rmrepo.cgi
parentc4fb9497982e2f51c1afefd43f94be8c6cc74edc (diff)
parent9a8be1d87c03fbcdbc7b62e1369cdfe3f5aba193 (diff)
downloadpiny-code-d9df093f1837f971090def69fb20e5677cb364da.tar.gz
piny-code-d9df093f1837f971090def69fb20e5677cb364da.zip
Merge branch 'master' of ssh://piny/srv/git/piny-code
Diffstat (limited to 'pinyweb/cgi-bin/auth/rmrepo.cgi')
-rwxr-xr-xpinyweb/cgi-bin/auth/rmrepo.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/auth/rmrepo.cgi b/pinyweb/cgi-bin/auth/rmrepo.cgi
index 2d0ff23..f57170a 100755
--- a/pinyweb/cgi-bin/auth/rmrepo.cgi
+++ b/pinyweb/cgi-bin/auth/rmrepo.cgi
@@ -13,7 +13,7 @@ $q = CGI->new;
print( "Content-type: text/plain\n\n");
-if( $q->param('r') ) {
+if( defined( $q->param('r') ) ) {
unless ( system( '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'rmrepo', $q->param('r') ) == 0 ) {
die( 'rmrepo was unsuccessful.' );
};