[gdm/gnome-3-14] systemd: don't require lang file to exist



commit c9b066030a632d84ec02d0c942bf8a25968bf873
Author: Ray Strode <rstrode redhat com>
Date:   Mon Mar 9 12:54:04 2015 -0400

    systemd: don't require lang file to exist
    
    commit fbb922cfcf4e389b0aa416d9a81c45f8f938f104 made sure
    to source /etc/default/locale on debian so that GDM gets
    started with the correct locale.
    
    Unfortunately, now if that file doesn't exist (which is entirely
    legitimate) then GDM won't start.
    
    This commit makes sure to still start GDM, even if the file couldn't
    be sourced.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745868

 data/gdm.service.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/gdm.service.in b/data/gdm.service.in
index 4ffcb29..9090cf4 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -26,7 +26,7 @@ IgnoreSIGPIPE=no
 BusName=org.gnome.DisplayManager
 StandardOutput=syslog
 StandardError=inherit
-EnvironmentFile= LANG_CONFIG_FILE@
+EnvironmentFile=- LANG_CONFIG_FILE@
 
 [Install]
 Alias=display-manager.service


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]