aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pacman-offline2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline
index 42bea71..69e77c0 100755
--- a/bin/pacman-offline
+++ b/bin/pacman-offline
@@ -86,8 +86,10 @@ ln -sf /var/cache/pacman/pkg /system-update
# reboot if requested
if [ ${REBOOT} -eq 1 ]; then
if systemctl --dry-run soft-reboot 2>/dev/null; then
+ echo "Soft-rebooting for update."
systemctl soft-reboot
else
+ echo "Rebooting for update."
systemctl reboot
fi
# start timer if requested