forked from security/hakurei
container/inittmpfs: unwrap out of bounds error
This eliminates generic WrapErr from tmpfs. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -24,6 +24,10 @@ func messageFromError(err error) (string, bool) {
|
||||
return m, ok
|
||||
}
|
||||
|
||||
if m, ok := messagePrefix[TmpfsSizeError]("", err); ok {
|
||||
return m, ok
|
||||
}
|
||||
|
||||
return zeroString, false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user