This commit is contained in:
TomasM
2018-03-22 09:37:10 -04:00
parent 68c10a0bfa
commit 8c7fa04537
3 changed files with 7 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
xhost + >/dev/null 2>/dev/null
if [ "$EUID" -ne 0 ]; then
chromium-launcher "$@"
exit 0
fi
su -c "chromium-launcher "$@"" guest