From 5d81fd88bb18f6d6f23b0182e4d93b191122fdb0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 11 Jan 2019 11:37:30 +0100 Subject: bin/db-update: some safeguard: do not "find -delete" w/o "-xdev" --- 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 5fc7af3..94c1ec6 100755 --- a/bin/db-update +++ b/bin/db-update @@ -163,7 +163,7 @@ export TMPDIR="${tmp_dir}" for source_stability in \ "${repository_stability_ids__testing}" \ "${repository_stability_ids__staging}"; do - find "${tmp_dir}" -mindepth 1 -delete + find "${tmp_dir}" -xdev -mindepth 1 -delete # shellcheck disable=SC2016 { -- cgit v1.2.3