summaryrefslogtreecommitdiffstats
path: root/remote/rootfs/rootfs-stage32/data/etc
diff options
context:
space:
mode:
authorSimon Rettberg2013-12-20 18:31:28 +0100
committerSimon Rettberg2013-12-20 18:31:28 +0100
commit7b098d7835923948f4053c23a1266bd8497c2aee (patch)
tree436c5099db82b0f641f7318fc8c67c2ab27073fe /remote/rootfs/rootfs-stage32/data/etc
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-7b098d7835923948f4053c23a1266bd8497c2aee.tar.gz
tm-scripts-7b098d7835923948f4053c23a1266bd8497c2aee.tar.xz
tm-scripts-7b098d7835923948f4053c23a1266bd8497c2aee.zip
Rework session handling wrt home directory mounting and persistence again. Don't try to force a user's home to /home/<username> anymore.
Diffstat (limited to 'remote/rootfs/rootfs-stage32/data/etc')
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/etc/profile b/remote/rootfs/rootfs-stage32/data/etc/profile
index b4c2400d..1ac8a450 100644
--- a/remote/rootfs/rootfs-stage32/data/etc/profile
+++ b/remote/rootfs/rootfs-stage32/data/etc/profile
@@ -2,7 +2,7 @@
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
# XXX: Use `backticks` here instead of $(this stuff) as we don't know which shell is running...
-export UID=`id -u`
+export UID=`id -u` 2> /dev/null
# If running interactively, then:
if [ "$PS1" ]; then