From acc8a75e0d04757aa1d6f76942c04781f221a97f Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 10 Jul 2004 11:46:17 +0000 Subject: Unlink is not needed in this case --- (limited to 'core') diff --git a/core/opie-login/passworddialogimpl.cpp b/core/opie-login/passworddialogimpl.cpp index aeb7516..951c4e1 100644 --- a/core/opie-login/passworddialogimpl.cpp +++ b/core/opie-login/passworddialogimpl.cpp @@ -159,7 +159,6 @@ void PasswordDialogImpl::writePassword() { ::fclose( file ); ::endpwent(); - ::unlink("/etc/passwd"); ::rename("/etc/passwd.new","/etc/passwd" ); /* should be done now */ -- cgit v0.9.0.2