diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-18 15:07:28 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-18 15:07:28 +0200 |
commit | 8bffef0ab26f3fcf7cbe907395373d1634284427 (patch) | |
tree | 8737d519d9c54dc2cf07f25bd80962a6387297b6 | |
parent | update (diff) | |
download | dotfiles-bsd-8bffef0ab26f3fcf7cbe907395373d1634284427.tar.gz dotfiles-bsd-8bffef0ab26f3fcf7cbe907395373d1634284427.tar.bz2 dotfiles-bsd-8bffef0ab26f3fcf7cbe907395373d1634284427.tar.xz dotfiles-bsd-8bffef0ab26f3fcf7cbe907395373d1634284427.tar.zst dotfiles-bsd-8bffef0ab26f3fcf7cbe907395373d1634284427.zip |
update
-rwxr-xr-x | .local/bin/status/sb-disk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/status/sb-disk b/.local/bin/status/sb-disk index 08bd8ea..72c68e7 100755 --- a/.local/bin/status/sb-disk +++ b/.local/bin/status/sb-disk @@ -3,7 +3,7 @@ echo -n " " df=$(df -h -T | grep '/$') if echo "$df" | grep zfs >/dev/null 2>&1; then - zpool list $(echo $df | sed 's/\/.*//')| tail -n1 | awk '{print $8" - "$3"/"$2}' + zpool list $(echo $df | sed 's/\/.*//')| tail -n1 | awk '{print "$3"/"$2}' else - echo "$df" | awk '{print $6" - "$4"/"$3}' + echo "$df" | awk '{print $4"/"$3}' fi |