Added informational prompts
This commit is contained in:
parent
69b8b2bbfc
commit
392cdf5edf
|
@ -71,8 +71,10 @@ expect eof
|
|||
END_EXPECT
|
||||
)
|
||||
|
||||
echo "Running PREHOOK..."
|
||||
eval $PREHOOK
|
||||
|
||||
echo "Running borg backup.."
|
||||
# Save the expect script to a temporary file
|
||||
expect_script_file=$(mktemp)
|
||||
echo "$expect_script" > "$expect_script_file"
|
||||
|
@ -86,4 +88,5 @@ $expect_script_file
|
|||
# Clean up the temporary expect script
|
||||
rm -f "$expect_script_file"
|
||||
|
||||
echo "Running POSTHOOK..."
|
||||
eval $POSTHOOK
|
Loading…
Reference in New Issue