diff --git a/install.python3 b/install.python3 index c46dc8b..5cc2862 100644 --- a/install.python3 +++ b/install.python3 @@ -106,7 +106,7 @@ if __name__ == "__main__": except: printc("Creating user") os.system("sudo adduser --system --shell /bin/false --group --disabled-login xui >/dev/null 2>&1") - if not os.path.exists("/home/xui"): os.mkdir("/home/xui >/dev/null 2>&1") + os.system("mkdir -p /home/xui >/dev/null 2>&1") ################################################## # INSTALL #