From 0f3306870b51c06f0854ed7399505c69e13a1912 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 30 Jun 2015 17:37:55 +0200 Subject: [PATCH] machinectl: Fix fatal errors in __fish_systemd_has_machine_image --- share/completions/machinectl.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/machinectl.fish b/share/completions/machinectl.fish index 16c0107d0..f345867b3 100644 --- a/share/completions/machinectl.fish +++ b/share/completions/machinectl.fish @@ -6,9 +6,9 @@ terminate kill bind copy-{to,from} list-images image-status show-image clone ren function __fish_systemd_has_machine_image set -l images (__fish_systemd_machine_images) - for i in images + for i in $images ".host" # Include ".host" here because it _is_ a valid machine - if contains -- $i (commandline -opc) ".host" + if contains -- $i (commandline -opc) echo $i return 0 end