Skip to content

Commit

Permalink
nixos/display-managers: Quote "$vars" (#25199)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyarly authored and fpletz committed Apr 27, 2017
1 parent de688d9 commit 0d72629
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixos/modules/services/x11/display-managers/default.nix
Expand Up @@ -33,7 +33,7 @@ let
#! ${pkgs.bash}/bin/bash
# Handle being called by SDDM.
if test "''${1:0:1}" = / ; then eval exec $1 $2 ; fi
if test "''${1:0:1}" = / ; then eval exec "$1" "$2" ; fi
${optionalString cfg.displayManager.logToJournal ''
if [ -z "$_DID_SYSTEMD_CAT" ]; then
Expand Down Expand Up @@ -115,7 +115,7 @@ let
: ''${desktopManager:=${cfg.desktopManager.default}}
# Start the window manager.
case $windowManager in
case "$windowManager" in
${concatMapStrings (s: ''
(${s.name})
${s.start}
Expand All @@ -125,7 +125,7 @@ let
esac
# Start the desktop manager.
case $desktopManager in
case "$desktopManager" in
${concatMapStrings (s: ''
(${s.name})
${s.start}
Expand Down

0 comments on commit 0d72629

Please sign in to comment.