Skip to content


Browse files Browse the repository at this point in the history
Fix exit code for cadence-session-start -s
  • Loading branch information
t-mw authored and falkTX committed May 10, 2020
1 parent bf0869c commit 5787908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/
Expand Up @@ -234,9 +234,9 @@ def printVersion():
elif arg == "--reset":
elif arg in ("--system-start", "--system-start-desktop"):
sys.exit(startSession(True, arg == "--system-start-desktop"))
sys.exit(0 if startSession(True, arg == "--system-start-desktop") else 1)
elif arg in ("-s", "--s", "-start", "--start"):
sys.exit(startSession(False, False))
sys.exit(0 if startSession(False, False) else 1)
elif arg in ("-h", "--h", "-help", "--help"):
elif arg in ("-v", "--v", "-version", "--version"):
Expand Down

0 comments on commit 5787908

Please sign in to comment.