Skip to content

Commit

Permalink
Update installUpgradeFunctions.sh: shellcheck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Feb 1, 2025
1 parent bdc563e commit 1f10a58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/installUpgradeFunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,8 @@ function umount_tmp()

local RET=0
#echo "UUU unmounting $DIR, df:"; df -h|grep allsky;echo "fstab:";grep allsky /etc/fstab; echo "mount:"; mount|grep allsky
cd / # Make sure we're not in ${DIR}"
# shellcheck disable=SC2103,SC2164
cd / # Make sure we're not in ${DIR}"
sudo umount --force "${DIR}" 2> /dev/null ||
{
# The Samba daemon is one known cause of "target busy".
Expand Down

0 comments on commit 1f10a58

Please sign in to comment.