We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2628191 + 0b3cefb commit a3540d3Copy full SHA for a3540d3
lib/lib.sh
@@ -643,8 +643,8 @@ register_networkd_reloader() {
643
# If the redirect fails, most likely because the target file
644
# already exists and -o noclobber is in effect, $? will be set
645
# nonzero. If it succeeds, it is set to 0
646
- echo $$ > "${lockfile}"
647
- # shellcheck disable=SC2320
+ 2>/dev/null echo $$ > "${lockfile}"
+ # shellcheck disable=SC2320
648
registered=$?
649
[ $registered -eq 0 ] && break
650
sleep 0.1
0 commit comments