From 2afbf9c7973f0f335b6b9766cfd83ca01826f373 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 13 Apr 2004 11:44:23 +0000 Subject: - log errors in /tmp/.kde-errors instead of /dev/tty10 (to be able to grep it, but that means one can't see it if kde doesn't succed except when using option "shell") - adapt to loop instead of chloop --- move/move.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index 0b069b7f3..56b495dcf 100644 --- a/move/move.pm +++ b/move/move.pm @@ -225,7 +225,7 @@ sub lomount_clp { log::l("lomount_clp: lomounting $name"); mkdir_p($dir); - my $dev = devices::find_free_chloop(); + my $dev = devices::find_free_loop(); run_program::run('losetup', '-r', '-e', 'gz', $dev, $clp); run_program::run('mount', '-r', $dev, $dir); } @@ -652,8 +652,8 @@ sub install2::startMove { sleep 1; log::l("DrakX waves bye-bye"); - open STDOUT, ">/dev/tty10"; #- don't display startkde shit on first console - open STDERR, ">/dev/tty10"; + open STDOUT, ">>/tmp/.kde-errors"; #- don't display startkde shit on first console + open STDERR, ">>/tmp/.kde-errors"; my (undef, undef, $uid, $gid, undef, undef, undef, $home, $shell) = getpwnam($username); $( = $) = "$gid $gid"; -- cgit v1.2.1