aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-05-24 21:09:54 +0800
committerJesús <heckyel@hyperbola.info>2022-05-24 21:09:54 +0800
commitb6e09a475008d66351ab62562a0db551b76d1640 (patch)
tree12a9bb8c5246523f246aaee4c69ac11b050d9bbe
parenta793dddcbda2e1f2ac71a2414b5771bb47de4c87 (diff)
downloadhyperfi-b6e09a475008d66351ab62562a0db551b76d1640.tar.lz
hyperfi-b6e09a475008d66351ab62562a0db551b76d1640.tar.xz
hyperfi-b6e09a475008d66351ab62562a0db551b76d1640.zip
shellcheck step 5
-rw-r--r--hyperfi6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperfi b/hyperfi
index 7889767..812e29c 100644
--- a/hyperfi
+++ b/hyperfi
@@ -1708,21 +1708,21 @@ hyperdidownload(){
curl -L "${hyperdiurl}" > hyperdi
}
hyperdiinstallandlaunchchroot(){
- cd
+ cd || return
hyperdidownload
sh hyperdi -i
hyperdi --chroot
exit
}
hyperdilaunchchroot(){
- cd
+ cd || return
hyperdidownload
sh hyperdi --chroot
rm hyperdi
exit
}
hyperdiinstallchroot(){
- cd
+ cd || return
hyperdidownload
sh hyperdi -i
exit