mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-17 07:40:59 +00:00
default to unknown platform if not specified in command line
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -16,4 +16,6 @@ awk -v flag=$1 '{
|
||||
}' /proc/cmdline
|
||||
}
|
||||
|
||||
kvpair mobyplatform
|
||||
PLATFORM=$(kvpair mobyplatform)
|
||||
|
||||
[ -z ${PLATFORM} ] && printf unknown || printf ${PLATFORM}
|
||||
|
Reference in New Issue
Block a user