summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-09-29 18:43:39 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-09-29 18:43:39 -0500
commit93d280108b318834f4d76a28c5ed56bec084a7ed (patch)
tree79b124c35b2823044e593c97fbd56463e66c8ff8
parent486f32ad1169956b5e4581f70345423fe1320b95 (diff)
downloadscripts-93d280108b318834f4d76a28c5ed56bec084a7ed.tar.xz
scripts-93d280108b318834f4d76a28c5ed56bec084a7ed.zip
fix launch error where if no hostname was defined would cause an err in the cache script
-rwxr-xr-xlaunch/launch4
1 files changed, 2 insertions, 2 deletions
diff --git a/launch/launch b/launch/launch
index 050f522..5947ae7 100755
--- a/launch/launch
+++ b/launch/launch
@@ -76,9 +76,9 @@ END {
print "\t"cmd") "cmds[i]" \"$@\" & ;;"
}
}
- print "\t*) command -v \"$run\" >/dev/null && exec \"$run\" \"$@\" || echo \"\\`$run${@:+ $@}\\` Does not exist or exited with an error\" ;;"
- print "esac"
}
+ print "\t*) command -v \"$run\" >/dev/null && exec \"$run\" \"$@\" || echo \"\\`$run${@:+ $@}\\` Does not exist or exited with an error\" ;;"
+ print "esac"
}
' $conf > $cache
chmod +x $cache