summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-01 07:07:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-01 07:07:44 +0000
commit79d9d54b2599348cf27db2e1900119a74a08347e (patch)
tree901031d0b172503e72379ab8ecc169aae33e2a78
parent346eef57fa29984919f6f02b3bd6d3ce44592b61 (diff)
downloaddrakx-79d9d54b2599348cf27db2e1900119a74a08347e.tar
drakx-79d9d54b2599348cf27db2e1900119a74a08347e.tar.gz
drakx-79d9d54b2599348cf27db2e1900119a74a08347e.tar.bz2
drakx-79d9d54b2599348cf27db2e1900119a74a08347e.tar.xz
drakx-79d9d54b2599348cf27db2e1900119a74a08347e.zip
a somewhat better error checking
-rw-r--r--move/move.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index bb20a1156..c1458407a 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -685,7 +685,7 @@ sub install2::startMove {
install_TrueFS_in_home($o);
- my $username = $o->{users}[0]{name};
+ my $username = $o->{users}[0]{name} or die 'no user';
output('/var/run/console.lock', $username);
output("/var/run/console/$username", 1);
run_program::run('pam_console_apply');