The argument builder was written based on the incorrect assumption that bwrap arguments are unordered. The argument builder is replaced in this commit to correct that mistake. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
14 lines
150 B
Go
14 lines
150 B
Go
package bwrap
|
|
|
|
const (
|
|
Tmpfs = iota
|
|
Dir
|
|
Symlink
|
|
)
|
|
|
|
var awkwardArgs = [...]string{
|
|
Tmpfs: "--tmpfs",
|
|
Dir: "--dir",
|
|
Symlink: "--symlink",
|
|
}
|