[gnome-builder/gnome-builder-3-32] src: fix /home symlink check
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-32] src: fix /home symlink check
- Date: Wed, 27 Mar 2019 00:59:07 +0000 (UTC)
commit 03ac0c5de4ce77ec779efab9d72ce5c281243914
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 26 17:58:15 2019 -0700
src: fix /home symlink check
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/main.c b/src/main.c
index f3d18a505..cfe3710a8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -123,7 +123,7 @@ main (gint argc,
*
* https://gitlab.gnome.org/GNOME/gnome-builder/issues/859
*/
- if (g_file_test (g_get_home_dir (), G_FILE_TEST_IS_SYMLINK))
+ if (g_file_test ("/home", G_FILE_TEST_IS_SYMLINK))
g_critical ("User home directory uses a symlink. "
"This is not supported and may result in unforseen issues.");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]