Skip to content
Snippets Groups Projects
Commit 684a3369 authored by gobonja's avatar gobonja
Browse files

changed error message when timeshift is already launched

parent d52c07bf
No related branches found
No related tags found
1 merge request!1Merge dev into master
......@@ -29,7 +29,7 @@ if $(get_property "skipAutosnap" "boolean" "false") ; then
echo "==> skipping timeshift-autosnap due skipAutosnap in $CONF_FILE set to TRUE." >&2; exit 0;
fi
timeshift --create --comments "$SNAPSHOT_DESCRIPTION" || { echo "Please close Timeshift and try again. Script will now exit..." >&2; exit 1; }
timeshift --create --comments "$SNAPSHOT_DESCRIPTION" || { echo "Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit..." >&2; exit 1; }
if $(get_property "deleteSnapshots" "boolean" "true") ; then
timeshift --list > $SNAPSHOTS_TO_DELETE
......@@ -51,4 +51,4 @@ if $(get_property "updateGrub" "boolean" "true") && [ "$(pacman -Qs ^grub-btrfs$
grub-mkconfig -o /boot/grub/grub.cfg
fi;
exit 0
\ No newline at end of file
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment