Browse Source

One-line log

pull/104/head
Xavier Petit 6 years ago committed by Clément
parent
commit
f4a69fecc8
  1. 3
      scripts/system/etc/gdm3/PostLogin/Default
  2. 3
      scripts/system/etc/gdm3/PostSession/Default

3
scripts/system/etc/gdm3/PostLogin/Default

@ -3,8 +3,7 @@
# Mount home as an overlay filesystem
# Log stdout & stderr
exec > >(tee -i /tmp/gdm3_postlogin.log)
exec 2>&1
exec > >(tee -i /tmp/gdm3_postlogin.log) 2>&1
# Treat unset variables as an error when substituting.
set -u

3
scripts/system/etc/gdm3/PostSession/Default

@ -1,8 +1,7 @@
#!/bin/bash
# Log stdout & stderr
exec > >(tee -i /tmp/gdm3_postsession.log)
exec 2>&1
exec > >(tee -i /tmp/gdm3_postsession.log) 2>&1
# Exit immediately if a command exits with a non-zero status.
set -e

Loading…
Cancel
Save