diff options
| -rwxr-xr-x | meta/recipes-core/systemd/systemd-systemctl/systemctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-systemctl/systemctl b/meta/recipes-core/systemd/systemd-systemctl/systemctl index 1164dd4950..efad14ce17 100755 --- a/meta/recipes-core/systemd/systemd-systemctl/systemctl +++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl | |||
| @@ -108,7 +108,7 @@ for service in $services; do | |||
| 108 | 108 | ||
| 109 | # If any new unit types are added to systemd they should be added | 109 | # If any new unit types are added to systemd they should be added |
| 110 | # to this regular expression. | 110 | # to this regular expression. |
| 111 | unit_types_re='\.\(service\|socket\|device\|mount\|automount\|swap\|target\|path\|timer\|snapshot\)$' | 111 | unit_types_re='\.\(service\|socket\|device\|mount\|automount\|swap\|target\|path\|timer\|snapshot\)\s*$' |
| 112 | if [ "$action" = "preset" ]; then | 112 | if [ "$action" = "preset" ]; then |
| 113 | action=`egrep -sh $service $ROOT/etc/systemd/user-preset/*.preset | cut -f1 -d' '` | 113 | action=`egrep -sh $service $ROOT/etc/systemd/user-preset/*.preset | cut -f1 -d' '` |
| 114 | if [ -z "$action" ]; then | 114 | if [ -z "$action" ]; then |
