Bug 258541 - Anacron reports run-parts error
Summary: Anacron reports run-parts error
Keywords:
Status: CLOSED DUPLICATE of bug 254220
Alias: None
Product: Fedora
Classification: Fedora
Component: crontabs
Version: 8
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-28 00:06 UTC by Carl Preddy
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-08-28 06:59:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Carl Preddy 2007-08-28 00:06:09 UTC
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

Comment 1 Marcela Mašláňová 2007-08-28 06:59:39 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.