Description of problem: anacron-2.3-53.fc8 mails an error message every night that concludes with /usr/bin/run-parts: line 5: [: ==: unary operator expected Version-Release number of selected component (if applicable): F8test1 for x86_64 How reproducible: like clockwork Steps to Reproduce: none; seems to be installed this way Actual results: error email from anacron to root Expected results: not that Additional info: Line 5 of /usr/bin/run-parts reads [ $AUX1 == $AUX2 ] || exit 0 I believe the intended construct should be [ $AUX1 == $AUX2 ] && exit 0
Correct is [ "$AUX1" == $AUX2 ] || exit 0 That means if they are not the same, then don't run anything. *** This bug has been marked as a duplicate of 254220 ***