mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
(cherry picked from commit 23e57de80a)
This commit is contained in:
1 parent
d7bb9c2829
commit
9c6c78bfba
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user