Lxc snapshot info

replying to both @SeventhSon and @Dnegreira
when there is an error in the handling of commands sent by lxc to lxd, lxc set the error code with the following strategy (lxc/main.go)

        err = app.Execute()
        if err != nil {
                os.Exit(1)

so if there is an error, the lxc client returns 1 else 0
if the lxd server suffers a catastrophic problem such as a nasty admin sending it a SIGKILL signal, the end result is the same
Error: websocket: close 1006 (abnormal closure): unexpected EOF
1 <— error code
lxc list | grep test1
| test1 | STOPPED | | | PERSISTENT | 1 |
lxc restore test1 snap1
Error: Failed to run: chmod +x /var/snap/lxd/common/lxd/storage-pools/default/containers/test1: chmod: cannot access ‘/var/snap/lxd/common/lxd/storage-pools/default/containers/test1’: No such file or directory