This is an automated email from the ASF dual-hosted git repository.
winterhazel pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 0da37409cc2 nasbackup: fix backup stopped vm on Ubuntu 26.04 (#13643)
0da37409cc2 is described below
commit 0da37409cc2831de01b09962313370b4b2800a01
Author: Wei Zhou <[email protected]>
AuthorDate: Tue Jul 21 16:55:43 2026 +0200
nasbackup: fix backup stopped vm on Ubuntu 26.04 (#13643)
---
scripts/vm/hypervisor/kvm/nasbackup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/vm/hypervisor/kvm/nasbackup.sh
b/scripts/vm/hypervisor/kvm/nasbackup.sh
index d252b1f4e97..e4204feb29b 100755
--- a/scripts/vm/hypervisor/kvm/nasbackup.sh
+++ b/scripts/vm/hypervisor/kvm/nasbackup.sh
@@ -433,7 +433,7 @@ backup_stopped_vm() {
done
sync
- ls -l --numeric-uid-gid $dest | awk '{print $5}'
+ find "$dest" -type f -exec stat -c '%s' {} +
}
delete_backup() {