mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Update ynh_lxd
This commit is contained in:
parent
72a3afd02b
commit
4f9b714037
1 changed files with 2 additions and 2 deletions
|
@ -163,12 +163,12 @@ ynh_lxc_swapfiles_clean () {
|
|||
|
||||
# Check if a snapshot exist for an LXC container
|
||||
#
|
||||
# usage: ynh_lxc_snapshot_exists --name=$LXC_NAME --snapname=--name=name --snapname=snapname
|
||||
# usage: ynh_lxc_snapshot_exists --name=name --snapname=snapname
|
||||
# | arg: -n, --name= - name of the LXC
|
||||
# | arg: -s, --snapname= - name of the snapshot
|
||||
#
|
||||
# Requires YunoHost version *.*.* or higher.
|
||||
ynh_lxc_snapshot_exists --name=$LXC_NAME --snapname=() {
|
||||
ynh_lxc_snapshot_exists () {
|
||||
# Declare an array to define the options of this helper.
|
||||
local legacy_args=ns
|
||||
local -A args_array=([n]=name= [s]=snapname=)
|
||||
|
|
Loading…
Add table
Reference in a new issue