summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-update b/bin/db-update
index 2d72456..d3aa106 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -318,7 +318,7 @@ clean_up_lock_file() {
rm -rf --one-file-system "${tmp_dir}"
}
-if mountpoint "${master_mirror_sshfs}" &> /dev/null; then
+if mountpoint "${master_mirror_sshfs}" > /dev/null 2>&1; then
fusermount -u "${master_mirror_sshfs}"
fi
mount "${master_mirror_sshfs}"