Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix jail_set #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix jail_set #41

wants to merge 1 commit into from

Commits on Sep 5, 2021

  1. Fix jail_set

    * Replace 'not _val' by '_val is None'. Former condition falsely
      selects and skips 0
    * Remove redundant test '_property in _existing_props.keys()'. Already
      tested by the first condition in the loop.
    * Replace loop need_start by testing intersect of the lists.
    * Remove unused vars rc=1, out="", cmd=""
    * Initialization of propval not needed.
    * The dash '-' already tested. Test string instead.
    * Quote string values.
    * Tested (in the branch current).
    vbotka committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    ce19b6a View commit details
    Browse the repository at this point in the history