Handle negated check returning false when file is present
This commit is contained in:
parent
290bc23228
commit
ec01f5f717
|
@ -3,7 +3,7 @@
|
||||||
. ../../APKBUILD.template
|
. ../../APKBUILD.template
|
||||||
|
|
||||||
pkgname=nnd-s6-services
|
pkgname=nnd-s6-services
|
||||||
pkgver=2.51
|
pkgver=2.52
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Base services for s6"
|
pkgdesc="Base services for s6"
|
||||||
depends="s6-rc s6-portable-utils s6-linux-utils"
|
depends="s6-rc s6-portable-utils s6-linux-utils"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
s6-envdir -i /etc/s6/env/path
|
s6-envdir -i /etc/s6/env/path
|
||||||
emptyenv -p
|
emptyenv -p
|
||||||
|
|
||||||
if -n { [ -r /etc/machine-id ] }
|
ifelse -Xn { [ -r /etc/machine-id ] } {
|
||||||
redirfd -w 1 /etc/machine-id
|
redirfd -w 1 /etc/machine-id
|
||||||
foreground {
|
foreground {
|
||||||
pipeline {
|
pipeline {
|
||||||
|
@ -12,3 +12,4 @@ if -n { [ -r /etc/machine-id ] }
|
||||||
} head -c 32
|
} head -c 32
|
||||||
}
|
}
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
} true
|
||||||
|
|
Loading…
Reference in New Issue