Skip to content
Commit 980f4e8d authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov
Browse files

test: make write_pidfile atomic



This is useful so that hooks can do a $(cat $pidfile) or [ -f $pidfile ]
and rely on the result.

Signed-off-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
It-makes-sence-by: default avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 27a481c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment