summaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/relogin.cgi b/relogin.cgi
index 028f4ddb1..f6a410c05 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -45,6 +45,7 @@ my $target;
if (!$action) {
# redirect to index.cgi if no action is defined.
print $cgi->redirect(correct_urlbase() . 'index.cgi');
+ exit;
}
# prepare-sudo: Display the sudo information & login page
elsif ($action eq 'prepare-sudo') {