mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
More hunting of unecessarily verbose message
This commit is contained in:
parent
5fa78d5de0
commit
e7f5e34a8b
2 changed files with 9 additions and 9 deletions
|
@ -317,7 +317,7 @@ LXC_STOP () {
|
|||
start_timer
|
||||
# Stop the LXC container
|
||||
if is_lxc_running; then
|
||||
echo "Stop the LXC container" | tee --append "$test_result"
|
||||
echo "Stop the LXC container" >> "$test_result"
|
||||
sudo lxc-stop --name=$lxc_name | tee --append "$test_result" 2>&1
|
||||
fi
|
||||
|
||||
|
@ -337,7 +337,7 @@ LXC_STOP () {
|
|||
fi
|
||||
|
||||
# Restore the snapshot.
|
||||
echo "Restore the previous snapshot." | tee --append "$test_result"
|
||||
echo "Restore the previous snapshot." >> "$test_result"
|
||||
sudo rsync --acls --archive --delete --executability --itemize-changes --xattrs "$snapshot_path/$current_snapshot/rootfs/" "/var/lib/lxc/$lxc_name/rootfs/" > /dev/null 2>> "$test_result"
|
||||
stop_timer 1 >> "$complete_log"
|
||||
}
|
||||
|
|
|
@ -818,7 +818,7 @@ CHECK_UPGRADE () {
|
|||
# Uses the default snapshot
|
||||
current_snapshot=snap0
|
||||
# Stop and restore the LXC container
|
||||
LXC_STOP
|
||||
LXC_STOP >> $complete_log
|
||||
done 4< "$script_dir/upgrade_list"
|
||||
}
|
||||
|
||||
|
@ -942,7 +942,7 @@ CHECK_PUBLIC_PRIVATE () {
|
|||
break_before_continue
|
||||
|
||||
# Stop and restore the LXC container
|
||||
LXC_STOP
|
||||
LXC_STOP >> $complete_log
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -1285,7 +1285,7 @@ CHECK_BACKUP_RESTORE () {
|
|||
sudo mv -f ./archives /var/lib/lxcsnaps/$lxc_name/$current_snapshot/rootfs/home/yunohost.backup/
|
||||
|
||||
# Stop and restore the LXC container
|
||||
LXC_STOP
|
||||
LXC_STOP >> $complete_log
|
||||
|
||||
ECHO_FORMAT "\nRestore on a clean YunoHost system...\n" "white" "bold" clog
|
||||
fi
|
||||
|
@ -1328,7 +1328,7 @@ CHECK_BACKUP_RESTORE () {
|
|||
break_before_continue
|
||||
|
||||
# Stop and restore the LXC container
|
||||
LXC_STOP
|
||||
LXC_STOP >> $complete_log
|
||||
done
|
||||
done
|
||||
}
|
||||
|
@ -1488,7 +1488,7 @@ CHECK_CHANGE_URL () {
|
|||
# Uses the default snapshot
|
||||
current_snapshot=snap0
|
||||
# Stop and restore the LXC container
|
||||
LXC_STOP
|
||||
LXC_STOP >> $complete_log
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -1806,7 +1806,7 @@ ACTIONS_CONFIG_PANEL () {
|
|||
# Uses the default snapshot
|
||||
current_snapshot=snap0
|
||||
# Stop and restore the LXC container
|
||||
LXC_STOP
|
||||
LXC_STOP >> $complete_log
|
||||
}
|
||||
|
||||
PACKAGE_LINTER () {
|
||||
|
@ -1875,7 +1875,7 @@ TEST_LAUNCHER () {
|
|||
current_snapshot=snap0
|
||||
|
||||
# Stop and restore the LXC container
|
||||
LXC_STOP
|
||||
LXC_STOP >> $complete_log
|
||||
|
||||
# Restore the started time for the timer
|
||||
starttime=$global_start_timer
|
||||
|
|
Loading…
Add table
Reference in a new issue