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

scripts: remove bogus command substitution in systemd-autofs-restart.sh

When we want to just execute command (without capturing output), we must
not do it via $(cmd). With such form, shell first gets output of 'cmd',
and then evaluates it. If this is empty string, it is successfully
executed. If not empty, all breaks down.
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 e9283213
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