diff options
Diffstat (limited to 'src/libtdeldap.cpp')
-rw-r--r-- | src/libtdeldap.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp index d060584..37ddea7 100644 --- a/src/libtdeldap.cpp +++ b/src/libtdeldap.cpp @@ -3031,10 +3031,11 @@ int LDAPManager::writeClientCronFiles(TQString *errstr) { if (file.open(IO_WriteOnly)) { TQTextStream stream( &file ); + stream << "#!/bin/sh" << "\n"; + stream << "\n"; stream << "# This file was automatically generated by TDE\n"; stream << "# All changes will be lost!\n"; stream << "\n"; - stream << "#!/bin/sh" << "\n"; stream << CRON_UPDATE_NSS_COMMAND << "\n"; file.close(); @@ -3062,10 +3063,11 @@ int LDAPManager::writePrimaryRealmCertificateUpdateCronFile(TQString *errstr) { if (file.open(IO_WriteOnly)) { TQTextStream stream( &file ); + stream << "#!/bin/sh" << "\n"; + stream << "\n"; stream << "# This file was automatically generated by TDE\n"; stream << "# All changes will be lost!\n"; stream << "\n"; - stream << "#!/bin/sh" << "\n"; stream << CRON_UPDATE_PRIMARY_REALM_CERTIFICATES_COMMAND << "\n"; stream << CRON_UPDATE_PRIMARY_REALM_CERTIFICATES_OPENLDAP_RELOAD_COMMAND << "\n"; |