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