Minor code cleanup
This commit is contained in:
parent
0b438f91ba
commit
194b6b672d
1 changed files with 1 additions and 3 deletions
|
|
@ -18,9 +18,7 @@ check_dependencies() {
|
||||||
if ! mkdir -p "$archive_dir"; then
|
if ! mkdir -p "$archive_dir"; then
|
||||||
echo "ERROR: Unable to create archive directory"
|
echo "ERROR: Unable to create archive directory"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
elif ! command -v 7z 2>&1 >/dev/null; then
|
||||||
|
|
||||||
if ! command -v 7z 2>&1 >/dev/null; then
|
|
||||||
echo "ERROR: 7z must be installed"
|
echo "ERROR: 7z must be installed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue