Continue even if script returns errors

Review Request #125323 - Created Sept. 20, 2015 and submitted

Information
Steven Franzen
plasma-workspace
master
352491
b0dee53...
Reviewers
plasma
lbeltrame

/bin/sh stops execution upon finding a nonzero exit code, which means that startkde will not continue if a script in .config/plasma-workspace/env/ produces an error. This small fix will execute a no-op in such a case, so that errors will not affect startkde's progress, while still being visible in .xsession-errors.

Tested both env-old.sh and env-new.sh with envvars.sh in ./testing, which refers to a location that no longer exists on my system. Confirmed that only env-new.sh performs the echo at the end.

Files


David Edmundson
Luca Beltrame
Siddhartha Sahu
Rex Dieter
Steven Franzen
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 509bafddf5bd350e4f41719728bd670cd2fac359 by Rex Dieter on behalf of Siddhartha Sahu to branch Plasma/5.4.
Loading...