aboutsummaryrefslogtreecommitdiff
path: root/local/bin/lxc-net
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-03-26 10:52:25 +0200
committerKarel Kočí <cynerd@email.cz>2017-03-26 10:52:25 +0200
commit8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2 (patch)
tree928f625765ce06dc386d818d05d52bcce29a80a1 /local/bin/lxc-net
parentae7ae956d0ac47c36f02c62627094e8358e724d9 (diff)
downloadmyconfigs-8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2.tar.gz
myconfigs-8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2.tar.bz2
myconfigs-8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2.zip
Automatically start xserver on tty1
Diffstat (limited to 'local/bin/lxc-net')
-rwxr-xr-xlocal/bin/lxc-net1
1 files changed, 1 insertions, 0 deletions
diff --git a/local/bin/lxc-net b/local/bin/lxc-net
index 0821571..a9f1d10 100755
--- a/local/bin/lxc-net
+++ b/local/bin/lxc-net
@@ -1,4 +1,5 @@
#!/bin/sh
+set -e
if [ "$(id -u)" -ne 0 ]; then
echo "Root required for execution" >&2