+hostname setting
This commit is contained in:
parent
be9f216f4c
commit
8adf63860c
@ -119,7 +119,7 @@ setup_from_template() {
|
||||
if [ ! -d "$backup_dir" ]; then
|
||||
echo "❌ Error: Failed to create backup directory"
|
||||
exit 1
|
||||
fi # Fixed: Changed } to fi
|
||||
fi
|
||||
|
||||
find . -maxdepth 1 ! -name "." ! -name ".." ! -name "$backup_dir" -exec cp -r {} "$backup_dir/" \;
|
||||
echo "✅ Backup created successfully"
|
||||
|
Loading…
x
Reference in New Issue
Block a user