Fix not being able to do literally anything
This commit is contained in:
parent
29cb4c47ed
commit
dddc92f6fb
@ -79,7 +79,7 @@ gettarget() {
|
|||||||
local firstline
|
local firstline
|
||||||
while read -r checkline; do
|
while read -r checkline; do
|
||||||
if [ -z "$firstline" ]; then
|
if [ -z "$firstline" ]; then
|
||||||
if ["$checkline" = "#.fsdefaults" ]; then
|
if [ "$checkline" = "#.fsdefaults" ]; then
|
||||||
firstline=1
|
firstline=1
|
||||||
continue
|
continue
|
||||||
else
|
else
|
||||||
@ -571,7 +571,7 @@ main() {
|
|||||||
# Early hook for help
|
# Early hook for help
|
||||||
[ -n "$_opthelp" ] && printhelp && exit 0
|
[ -n "$_opthelp" ] && printhelp && exit 0
|
||||||
# Early hook for generating configs
|
# Early hook for generating configs
|
||||||
[ -n "$_optpregen" ] && genconfigs; exit $?
|
[ -n "$_optpregen" ] && genconfigs && exit $?
|
||||||
# Ensure our running environment is sane and that we're not about to nest
|
# Ensure our running environment is sane and that we're not about to nest
|
||||||
if [ -z "$_optdryrun" ] && [ -z "$_optpregen" ]; then
|
if [ -z "$_optdryrun" ] && [ -z "$_optpregen" ]; then
|
||||||
for pid in $(pgrep firestarter); do
|
for pid in $(pgrep firestarter); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user