From aeb6b8ae3ce6f573fc2b947366894abf7757e1f5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 20 Jun 2017 15:23:06 +0200 Subject: bin/db-update: remove bashism --- bin/db-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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}" -- cgit v1.2.3-54-g00ecf