summaryrefslogtreecommitdiffstats
path: root/move/move.pm
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 /move/move.pm
parent346eef57fa29984919f6f02b3bd6d3ce44592b61 (diff)
downloaddrakx-backup-do-not-use-79d9d54b2599348cf27db2e1900119a74a08347e.tar
drakx-backup-do-not-use-79d9d54b2599348cf27db2e1900119a74a08347e.tar.gz
drakx-backup-do-not-use-79d9d54b2599348cf27db2e1900119a74a08347e.tar.bz2
drakx-backup-do-not-use-79d9d54b2599348cf27db2e1900119a74a08347e.tar.xz
drakx-backup-do-not-use-79d9d54b2599348cf27db2e1900119a74a08347e.zip
a somewhat better error checking
Diffstat (limited to 'move/move.pm')
-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');