diff options
| author | Dylan Araps <[email protected]> | 2017-06-20 19:27:55 +1000 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2017-06-20 19:27:55 +1000 |
| commit | 0840d57d02957b202c93c36eb9e187a60da9ac9f (patch) | |
| tree | 0b12cc40321ea7dab31c5dc138f4253ea51f3db5 | |
| parent | Wallpaper: Add desktop environment support (diff) | |
| download | pywal-0840d57d02957b202c93c36eb9e187a60da9ac9f.tar.xz pywal-0840d57d02957b202c93c36eb9e187a60da9ac9f.zip | |
Optimization: Terminate the script on exit to save 10ms
| -rwxr-xr-x | wal | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -568,7 +568,9 @@ def main(): stderr=open("/dev/null", "w"), preexec_fn=os.setpgrp) - return 0 + # This saves 10ms. + # pylint: disable=W0212 + os._exit(0) main() |