Browse Source

corrected remove dangling function

master
ojizero 7 months ago
parent
commit
575ce5ff3f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .docker_shims.zsh

+ 1
- 1
.docker_shims.zsh View File

@@ -93,7 +93,7 @@ function docker-remove-dangling {
local dopts="${input% // *}"
local args="${input#* // }"

local dangling_images=$(eval "/usr/bin/env docker ${dopts} images --filter dangling=true --quiet")
local dangling_images=$(eval "/usr/bin/env docker ${dopts} images --filter dangling=true --quiet" | tr '\n' ' ')

local s=$?
if [[ $s -ne 0 ]]; then

Loading…
Cancel
Save