Skip to content

Commit cbc5b68

Browse files
authored
Merge pull request #31 from solacelost/bugfix/extra-file-creation
fixes #30
2 parents facd4f8 + bddec27 commit cbc5b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/virt_volume.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ if [[ -f "$output" || -d "$output" ]]; then
104104
existing_group="$(stat --format '%G' "$output")"
105105
new_owner="${VOLUME_OWNER:-$existing_owner}"
106106
new_group="${VOLUME_GROUP:-$existing_group}"
107-
output=$(chown "$new_owner":"$new_group" "$output" 2>1)
107+
output=$(chown "$new_owner":"$new_group" "$output" 2>&1)
108108
result=$?
109109
if [[ $result -ne 0 ]]; then
110110
echo "Failed to change ownership of the volume to $new_owner:$new_group"

0 commit comments

Comments
 (0)