summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakhelp
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakhelp')
-rwxr-xr-xperl-install/standalone/drakhelp2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakhelp b/perl-install/standalone/drakhelp
index eea4644bd..8117d5b7b 100755
--- a/perl-install/standalone/drakhelp
+++ b/perl-install/standalone/drakhelp
@@ -43,7 +43,7 @@ if (! -e $instpath) {
}
}
-if (-e $instpath) {
+if (-f $instpath) {
local $ENV{HOME} = '/root' if !$<;
run_program::raw({ detach => 1 }, 'display_help', "file://$ancpath");
} else {