Skip to content

Commit

Permalink
FIX: Bug when grabbing first disk for bhyveload
Browse files Browse the repository at this point in the history
  • Loading branch information
EpiJunkie committed Aug 20, 2016
1 parent 5e9b455 commit 5bc7a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chyves-guest-disk
Expand Up @@ -159,7 +159,7 @@ __gvset_guest_disk_list() {

# Formatting statements
if [ "$_flags" = "-new-line" ]; then
local _final_formated_output="$( echo "$_disks_dataset_list" )"
local _final_formated_output="$( echo "$_disks_dataset_list" | grep -v -E '^$' )"
elif [ "$_flags" = "-comma" ]; then
local _final_formated_output="$( echo "$_disks_dataset_list" | tr '\n' ',' )"
elif [ "$_flags" = "-grep" ]; then
Expand Down

0 comments on commit 5bc7a75

Please sign in to comment.