Mailinglist Archive: yast-commit (1056 mails)
| < Previous | Next > |
[yast-commit] r44171 - /trunk/ca-management/src/crlExport.ycp
- From: jdsn@xxxxxxxxxxxxxxxx
- Date: Tue, 05 Feb 2008 16:18:25 -0000
- Message-id: <20080205161826.14976331C2@xxxxxxxxxxxxxxxx>
Author: jdsn
Date: Tue Feb 5 17:18:25 2008
New Revision: 44171
URL: http://svn.opensuse.org/viewcvs/yast?rev=44171&view=rev
Log:
fix unlikely bug
Modified:
trunk/ca-management/src/crlExport.ycp
Modified: trunk/ca-management/src/crlExport.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ca-management/src/crlExport.ycp?rev=44171&r1=44170&r2=44171&view=diff
==============================================================================
--- trunk/ca-management/src/crlExport.ycp (original)
+++ trunk/ca-management/src/crlExport.ycp Tue Feb 5 17:18:25 2008
@@ -404,7 +404,7 @@
configString = configString + "\n\n\n";
string hourset = intervalHours == 24 ?
sformat("%1",intervalAtHour) : sformat("*/%1",intervalHours);
configString = configString + sformat("* %1 * * * root
/usr/bin/exportCRL.pl -c /var/lib/CAM/%2/exportcrl.conf", hourset,
deletechars(ca, " "));
- if ( SCR::Execute(.target.bash, sformat("cat > %1
<<EOCAT\n%2\nEOCAT", cronConfFile, configString )) == 0 )
+ if ( SCR::Execute(.target.bash, sformat("cat > %1
<<ENDOFCATsANDDOGs\n%2\nENDOFCATsANDDOGs", cronConfFile, configString )) == 0 )
y2milestone("Setup cron job for periodic recreation and
export of CRLs of CA %1", ca);
else
y2error("Failed to set up a cron job for periodic
recreation and export of CRLs of CA %1", ca);
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Tue Feb 5 17:18:25 2008
New Revision: 44171
URL: http://svn.opensuse.org/viewcvs/yast?rev=44171&view=rev
Log:
fix unlikely bug
Modified:
trunk/ca-management/src/crlExport.ycp
Modified: trunk/ca-management/src/crlExport.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ca-management/src/crlExport.ycp?rev=44171&r1=44170&r2=44171&view=diff
==============================================================================
--- trunk/ca-management/src/crlExport.ycp (original)
+++ trunk/ca-management/src/crlExport.ycp Tue Feb 5 17:18:25 2008
@@ -404,7 +404,7 @@
configString = configString + "\n\n\n";
string hourset = intervalHours == 24 ?
sformat("%1",intervalAtHour) : sformat("*/%1",intervalHours);
configString = configString + sformat("* %1 * * * root
/usr/bin/exportCRL.pl -c /var/lib/CAM/%2/exportcrl.conf", hourset,
deletechars(ca, " "));
- if ( SCR::Execute(.target.bash, sformat("cat > %1
<<EOCAT\n%2\nEOCAT", cronConfFile, configString )) == 0 )
+ if ( SCR::Execute(.target.bash, sformat("cat > %1
<<ENDOFCATsANDDOGs\n%2\nENDOFCATsANDDOGs", cronConfFile, configString )) == 0 )
y2milestone("Setup cron job for periodic recreation and
export of CRLs of CA %1", ca);
else
y2error("Failed to set up a cron job for periodic
recreation and export of CRLs of CA %1", ca);
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |