1
0
forked from mir/linux-vm-tools

fix code style

This commit is contained in:
Luiz Paulo "Bills 2018-10-03 20:11:31 -03:00 committed by GitHub
parent b2b4d37b61
commit 4ed42fda4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,12 @@
# Major thanks to: http://c-nergy.be/blog/?p=10752 for the tips.
#
if [ ! $(id -u) ] ; then
if [ ! $(id -u) ]; then
echo 'This script must be run with root privileges' >&2
exit 1
fi
bash -c "cat >~/.xsession <<EOF
bash -c "cat > ~/.xsession <<EOF
/usr/lib/gnome-session/gnome-session-binary --session=ubuntu &
/usr/lib/x86_64-linux-gnu/unity/unity-panel-service &
@ -26,4 +26,4 @@ do
\\\${service} &
done
unity
EOF"
EOF"