fix default case
This commit is contained in:
父節點
b38db28f70
當前提交
73c5057e01
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
|
@ -6,6 +6,8 @@ define sudo::access (
|
|||
include sudo
|
||||
if $user == undef {
|
||||
$real_user = $name
|
||||
} else {
|
||||
$real_user = $user
|
||||
}
|
||||
# there shouldn't be a dot in those filenames!
|
||||
file { "${sudo::dir}/01-user_access-${title}":
|
||||
|
|
載入中…
Reference in a new issue