Skip to content
Commit 73a24127 authored by Eugene Kolomeetz's avatar Eugene Kolomeetz Committed by Pavel Emelyanov
Browse files

scripts: return non zero if save_mountpoint() fails

In such case, we must not proceed: without saved mountpoint, we risk
losing data when restarting automount service (think about tmpfs).
Currently, zero will be returned as exit status of preceeding echo.
https://jira.sw.ru/browse/PSBM-44207



Signed-off-by: default avatarEugene Kolomeetz <klm@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 00f8b63b
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