Skip to content
Snippets Groups Projects
  • Thomas Woerner's avatar
    34bd2562
    ipasudorule: Fix category reset for idempotency · 34bd2562
    Thomas Woerner authored
    A repeated category reset of usercategory, hostcategory, cmdcaterory,
    runasusercategory and hostcategory is resulting in the error
    "no modifications to be performed".
    
    The empty categories are now removed from the args if the category is
    not set in the sudorule.
    34bd2562
    History
    ipasudorule: Fix category reset for idempotency
    Thomas Woerner authored
    A repeated category reset of usercategory, hostcategory, cmdcaterory,
    runasusercategory and hostcategory is resulting in the error
    "no modifications to be performed".
    
    The empty categories are now removed from the args if the category is
    not set in the sudorule.