Run the save script in the background

This commit is contained in:
Bruno Sutic 2015-02-11 16:01:20 +01:00
parent 42ca2d4454
commit 5ca7656df0
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
2 changed files with 2 additions and 1 deletions

View File

@ -2,3 +2,4 @@
### master
- first working version
- run the save script in the background

View File

@ -28,7 +28,7 @@ enough_time_since_last_run_passed() {
fetch_and_run_tmux_resurrect_save_script() {
local resurrect_save_script_path="$(get_tmux_option "$resurrect_save_path_option" "")"
if [ -n "$resurrect_save_script_path" ]; then
$resurrect_save_script_path "no-spinner"
$resurrect_save_script_path "quiet" >/dev/null 2>&1 &
set_last_save_timestamp
fi
}