nixos/gdm: don't raise an Exception in set-session script
https://github.com/NixOS/nixpkgs/pull/73378#discussion_r349825541
This commit is contained in:
parent
be5dcb4606
commit
519448d2e3
@ -78,7 +78,8 @@ def main():
|
||||
)
|
||||
user.set_x_session(session)
|
||||
else:
|
||||
raise Exception(f"Couldn't figure out session type for {session_file}")
|
||||
logging.error(f"Couldn't figure out session type for {session_file}")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user