summaryrefslogtreecommitdiffstats
path: root/filesharing
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing')
-rw-r--r--filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp b/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp
index cc6e6a18..cf91918f 100644
--- a/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp
+++ b/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp
@@ -83,7 +83,7 @@ SambaUserList SmbPasswdFile::getSambaUserList()
SambaUserList list;
- if ( f.open(IO_ReadOnly) )
+ if ( f.exists() && f.open(IO_ReadOnly) )
{
TQTextStream t( &f );
TQString s;