added newline at end of output

This commit is contained in:
Niklas 2020-07-14 18:58:37 +02:00
parent f426c17d5d
commit 66bf26d74f
2 changed files with 2 additions and 2 deletions

View File

@ -14,5 +14,5 @@ filename="$(date +"%d-%m-%y-%H-%M-%Z").png"
mv $TMPDIR/* "$TMPDIR/$filename" mv $TMPDIR/* "$TMPDIR/$filename"
printf "$TMPDIR/$filename" printf "%s\n" "$TMPDIR/$filename"

View File

@ -11,5 +11,5 @@ screenshotFile=$($SCRIPTPATH/take-screenshot.sh)
mv "$screenshotFile" "$SCREENSHOT_DIR" mv "$screenshotFile" "$SCREENSHOT_DIR"
rm -rf "$(dirname $screenshotFile)" rm -rf "$(dirname $screenshotFile)"
printf "$SCREENSHOT_DIR/$(basename $screenshotFile)" printf "%s\n" "$SCREENSHOT_DIR/$(basename $screenshotFile)"