Client does not return the correct exit code when failing to communicate with server.

Bug #1434546 reported by Chris Glass
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
Medium
Chris Glass
landscape-client (Ubuntu)
New
Undecided
Unassigned
Trusty
New
Undecided
Unassigned

Bug Description

As part of the fallout from recent changes in the client configuration, the trunk client does not exit the same way as before.

One error, the previous client did and "exit(2)" (and exit(1) should the configuration file be unreadable)

We should at least reinstate the exit(2) behavior since robot tests rely on it and it is a reasonable assumption that a program returns a non-zero exit code on failure.

Related branches

Chris Glass (tribaal)
description: updated
tags: removed: kanban
Changed in landscape-client:
status: New → Fix Committed
David Britton (dpb)
Changed in landscape-client:
milestone: none → 15.04
David Britton (dpb)
Changed in landscape-client:
status: Fix Committed → Fix Released
David Britton (dpb)
Changed in landscape-client:
status: Fix Released → Fix Committed
Changed in landscape-client:
status: Fix Committed → Fix Released
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.