Skip to content

Commit

Permalink
Fixing a goof
Browse files Browse the repository at this point in the history
  • Loading branch information
okashi committed Apr 24, 2017
1 parent 8f433d4 commit fbddc61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ function screenshot() {
}

function upload() {
if [ ! -f "$entry" ]
entry=$1
if [ ! -f "$entry" ];
then
echo "$entry not found! Exiting..."
exit 1
fi
check_key

entry=$1
mimetype=$(file -b --mime-type $entry)

filesize=$(wc -c <"$entry")
Expand Down

0 comments on commit fbddc61

Please sign in to comment.