systemd: fix quoting in glob pattern

This commit is contained in:
Robert Helgesson 2017-01-09 22:49:29 +01:00
parent dd0e71d686
commit 8a196bb62b
Failed to generate hash of commit

View file

@ -79,8 +79,8 @@ in
--new-line-format='+%L' \ --new-line-format='+%L' \
--old-line-format='-%L' \ --old-line-format='-%L' \
--unchanged-line-format=' %L' \ --unchanged-line-format=' %L' \
<(basename -a $(echo "$oldUserServicePath/*.service") | sort) \ <(basename -a $(echo "$oldUserServicePath/"*.service) | sort) \
<(basename -a $(echo "$newUserServicePath/*.service") | sort) \ <(basename -a $(echo "$newUserServicePath/"*.service) | sort) \
> $servicesDiffFile > $servicesDiffFile
local -a maybeRestart=( $(grep '^ ' $servicesDiffFile | cut -c2-) ) local -a maybeRestart=( $(grep '^ ' $servicesDiffFile | cut -c2-) )