You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Export and unset SNAPSHOTS_ENABLED and USE_ALL_DISK_SPACE variables
- Export variables when set to make them available to child processes
- Unset them after use to clean up the environment
- Fixes shellcheck SC2034 warning
Copy file name to clipboardExpand all lines: nextcloud_install_production.sh
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ fi
101
101
102
102
# Create a placeholder volume before modifying anything
103
103
# Ask about snapshots first
104
-
SNAPSHOTS_ENABLED=""
104
+
exportSNAPSHOTS_ENABLED=""
105
105
if [ -z"$PROVISIONING" ]
106
106
then
107
107
if! does_snapshot_exist "NcVM-installation"&& yesno_box_no "Do you want to use LVM snapshots to be able to restore your root partition during upgrades and such?
@@ -117,7 +117,7 @@ Enabling this will also force an automatic reboot after running the update scrip
0 commit comments