summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-13 11:44:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-13 11:44:23 +0000
commit2afbf9c7973f0f335b6b9766cfd83ca01826f373 (patch)
treecf458a425000452d87d69e4bc3c98327886f6a5e
parent63b39b6c00ab782b003e055960a1f165afb3ef55 (diff)
downloaddrakx-2afbf9c7973f0f335b6b9766cfd83ca01826f373.tar
drakx-2afbf9c7973f0f335b6b9766cfd83ca01826f373.tar.gz
drakx-2afbf9c7973f0f335b6b9766cfd83ca01826f373.tar.bz2
drakx-2afbf9c7973f0f335b6b9766cfd83ca01826f373.tar.xz
drakx-2afbf9c7973f0f335b6b9766cfd83ca01826f373.zip
- 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
-rw-r--r--move/move.pm6
1 files changed, 3 insertions, 3 deletions
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";