summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin/auth/lsaccess.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'pinyweb/cgi-bin/auth/lsaccess.cgi')
-rwxr-xr-xpinyweb/cgi-bin/auth/lsaccess.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/auth/lsaccess.cgi b/pinyweb/cgi-bin/auth/lsaccess.cgi
index f7c9a06..354ba32 100755
--- a/pinyweb/cgi-bin/auth/lsaccess.cgi
+++ b/pinyweb/cgi-bin/auth/lsaccess.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'}, 'lsaccess', $q->param('r') ) == 0 ) {
die( 'lsaccess was unsuccessful.' );
};