summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakTermServ
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-xperl-install/standalone/drakTermServ4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index a9d82412a..7a91fcb70 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -60,7 +60,7 @@ my $tftpboot = "/var/lib/tftpboot";
my @kernels = grep { /vmlinuz-/ } all("/boot");
my $i = 0;
foreach (@kernels) {
- splice(@kernels, $i, 1) if -l $_;
+ splice(@kernels, $i, 1) if -l "/boot/$_";
$i++;
}
@@ -483,7 +483,7 @@ sub sync_users {
sub restart_dm() {
if ($clients_set) {
my $result = $in->ask_okcancel('', N("In order to enable changes made for thin clients, the display manager must be restarted. Restart now?"));
- system('/sbin/service dm restart') if $result;
+ system('nohup /sbin/service dm restart') if $result;
}
}