-
Notifications
You must be signed in to change notification settings - Fork 2
PF24
Anton Novojilov edited this page May 26, 2020
·
5 revisions
Checks for empty evaluated shell if
clauses.
if [[ $1 -ge 1 ]] ; then
%if 0%{?rhel} >= 7
%{__systemctl} daemon-reload &>/dev/null || :
%endif
fi
%if 0%{?rhel} >= 7
if [[ $1 -ge 1 ]] ; then
%{__systemctl} daemon-reload &>/dev/null || :
fi
%endif
If a conditional macro test is unsuccessful, we will get an empty shell if clause.