Fix installation issue on arch-linux

This commit is contained in:
Nick Peng
2019-11-07 22:33:25 +08:00
parent 408c199564
commit 25c6cab4a8

View File

@@ -82,7 +82,9 @@ install_files()
install -v -m 0755 -t $SMARTDNS_INIT_DIR etc/init.d/smartdns
if [ $? -ne 0 ]; then
return 1
if [ $ISSYSTEMD -ne 0 ]; then
return 1
fi
fi
if [ $ISSYSTEMD -eq 0 ]; then