Skip to content

Commit

Permalink
Fix: remove redundant ownership check in paperer.sh
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
mihaiconstantin committed May 12, 2023
1 parent c9ce16c commit 73e2980
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions paperer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,6 @@ prepare() {
return 1
fi

# If changing ownership failed.
if [ $? -ne 0 ]; then
# User feedback.
echo " (!) Error: failed to change ownership." >&2

# Return with error code.
return 1
fi

# Change back the directory.
cd "$CURRENT_DIR"

Expand Down

0 comments on commit 73e2980

Please sign in to comment.