big oof
This commit is contained in:
parent
7bbf52a757
commit
4f6534cd4d
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -38,7 +38,7 @@ apk add --initdb --root /rootfs alpine-base
|
||||||
async rcUpdate(runlevel, service) {
|
async rcUpdate(runlevel, service) {
|
||||||
const servicePath = `/etc/init.d/${service}`;
|
const servicePath = `/etc/init.d/${service}`;
|
||||||
try {
|
try {
|
||||||
await stat(servicePath);
|
await stat(join(root, servicePath));
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(`Can't stat service ${service}: ${error}`);
|
throw new Error(`Can't stat service ${service}: ${error}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue