Skip to content

Commit 42faaab

Browse files
authored
Merge branch 'main' into enh/noid/fix-plex-getting-drives
2 parents 8dca01a + ce49309 commit 42faaab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

not-supported/remotedesktop.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ debug_mode
1919
# Check if root
2020
root_check
2121

22+
# Don't run this script as root user, because we will need the account
23+
if [ -z "$UNIXUSER" ]
24+
then
25+
msg_box "Please don't run this script as pure root user!"
26+
exit 1
27+
fi
28+
2229
# Check if xrdp is installed
2330
if ! is_this_installed xrdp
2431
then
2532
# Ask for installing
2633
install_popup "$SCRIPT_NAME"
2734
XRDP_INSTALL=1
28-
29-
# Don't run this script as root user, because we will need the account
30-
if [ -z "$UNIXUSER" ]
31-
then
32-
msg_box "Please don't run this script as pure root user!"
33-
exit 1
34-
fi
3535

3636
# Check if gnome-session is installed
3737
if ! is_this_installed gnome-session

0 commit comments

Comments
 (0)