mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
34bf2f3a1f
as Termux is a single-user environment.
13 lines
331 B
Diff
13 lines
331 B
Diff
--- a/bus/activation-helper.c
|
|
+++ b/bus/activation-helper.c
|
|
@@ -294,7 +294,8 @@
|
|
static dbus_bool_t
|
|
switch_user (char *user, DBusError *error)
|
|
{
|
|
-#ifndef ACTIVATION_LAUNCHER_TEST
|
|
+/* Termux is a single-user environment. */
|
|
+#if !defined ACTIVATION_LAUNCHER_TEST && !defined __ANDROID__
|
|
struct passwd *pw;
|
|
|
|
/* find user */
|