mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-09 14:35:42 +08:00
Make sure cube script works in all locale envs
This commit is contained in:
parent
dafeb23b5b
commit
7b6a3ff4be
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Script ver 2025022301
|
||||
# Script ver 2025042801
|
||||
|
||||
#TODO: blockcommit removes current snapshots, even if not done by cube
|
||||
# - it's interesting to make housekeeping, let's make this an option
|
||||
|
@ -26,6 +26,9 @@ SNAPSHOT_FAILED_FILE="${ROOT_DIR}/SNAPSHOT_FAILED"
|
|||
# default tenant if extraction of tenant name failed
|
||||
DEFAULT_TENANT=netperfect
|
||||
|
||||
# Force libvirt to talk in parseable english
|
||||
export LANG=C
|
||||
|
||||
SCRIPT_ERROR=false
|
||||
|
||||
function log {
|
||||
|
|
Loading…
Add table
Reference in a new issue