Wrong code [ ! -e $CERTFILE ] && exit 0

Bug #1103180 reported by Johan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
boxbackup (Ubuntu)
New
Undecided
Unassigned

Bug Description

/etc/init.d/boxbackup-server contains [ ! -e $CERTFILE ] && exit 0

It should contain something which results a correct response in accordance with other packages to return a correct status response on stdout when

# /etc/init.d/boxbackup-server status
is executed, even in the case that no $CERTFILE file exists.

Revision history for this message
Johan (iampure) wrote :

According to LSB:

"If the status action is requested, the init script will return the following exit status codes.

0 program is running or service is OK"

This shows a violation of the LSB. LSB behaviour can be restored with respect to this point by converting the 0 into a 1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.