mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
rc: proper fix for previous; directory always exists but may be empty
This commit is contained in:
parent
3c42319865
commit
4d7e435ac7
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -d /etc/rc.conf.d ]; then
|
||||
if [ -z "$(ls /etc/rc.conf.d)" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user