Ophestra Umiker
df33123bd7
All checks were successful
test / test (push) Successful in 21s
This removes the dependency on external user switchers like sudo/machinectl and decouples fortify user ids from the passwd database. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
13 lines
176 B
Go
13 lines
176 B
Go
package internal
|
|
|
|
import "path"
|
|
|
|
var (
|
|
Fsu = compPoison
|
|
Finit = compPoison
|
|
)
|
|
|
|
func Path(p string) (string, bool) {
|
|
return p, p != compPoison && p != "" && path.IsAbs(p)
|
|
}
|