summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index ef11a893e..d1c97e0b6 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -635,7 +635,7 @@ function ts_fstab_open {
function ts_fstab_close {
echo "# -->" >> /etc/fstab
- sync /etc/fstab
+ sync /etc/fstab 2>/dev/null
}
function ts_fstab_addline {
@@ -669,7 +669,7 @@ function ts_fstab_clean {
s/# <!-- util-linux.*-->//;
/^$/d" /etc/fstab
- sync /etc/fstab
+ sync /etc/fstab 2>/dev/null
ts_unlock "fstab"
}