CryptoJones

BASH-IF-NULL-THEN

Sep 20th, 2022
1,097
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. if [[ -z "$ingestGB" ]]
  2. then
  3.   ingestGB=$((999999))
  4.   ingestBytes=$(($ingestGB*1000000000))
  5. else
  6.   ingestBytes=$(($ingestGB*1000000000))
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment