mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
parent
b9b272f00f
commit
23e57de80a
@ -43,7 +43,7 @@ function get_type
|
||||
else
|
||||
command=$1
|
||||
|
||||
( $command | head -n 1024 | file -b --mime-type - ) 2>/dev/null
|
||||
( eval "$command" | head -n 1024 | file -b --mime-type - ) 2>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user