forked from obel1x/fedora-OEMDRV
Bug: Set rights for client sw
split function elog_add_command_subshell and elog_add_command
This commit is contained in:
@@ -69,7 +69,7 @@ elog_add "Check the matching client rule:"
|
||||
# RETNO = 0 , but the Output of "sudo -l -l" must als be checked, if there is an Option !authenticate in the returnung string, otherwise a failed installation cannot be
|
||||
# divided from a missing sudo-rule
|
||||
#
|
||||
elog_add_command "/usr/bin/sudo -n -l -l ${SYSCONFIGPATH}/system_setup/sync_client_software.sh"
|
||||
elog_add_command_subshell "/usr/bin/sudo -n -l -l ${SYSCONFIGPATH}/system_setup/sync_client_software.sh"
|
||||
if [[ $RETNO -ne 0 ]]; then
|
||||
elog_add "Error was no $RETNO"
|
||||
elog_add "No matching IPA rule found for this user, so the user is not allowed to install software, skipping this."
|
||||
|
||||
Reference in New Issue
Block a user