Skip to content

Commit

Permalink
archive.sh: Print to stderr if check failed
Browse files Browse the repository at this point in the history
Signed-off-by: Rong Tao <[email protected]>
  • Loading branch information
Rtoax committed Jun 12, 2024
1 parent 8d2b9f7 commit 003e627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [[ ! -d .git/ ]]; then
echo "ERROR: You are not in git tree."
echo "ERROR: You are not in git tree." >&2
exit 1
fi

Expand Down

0 comments on commit 003e627

Please sign in to comment.