mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Merge pull request #205 from drego85/patch-2
Simple fix to improve the IF cycle
This commit is contained in:
@ -94,7 +94,7 @@ function provide_raspbian() {
|
|||||||
function setup_raspbian(){
|
function setup_raspbian(){
|
||||||
# Detect the ability to create sparse files
|
# Detect the ability to create sparse files
|
||||||
if [ "${OPT_SPARSE}" -eq 0 ]; then
|
if [ "${OPT_SPARSE}" -eq 0 ]; then
|
||||||
if ! type "bmaptool" > /dev/null; then
|
if ! type "bmaptool" >/dev/null 2>&1; then
|
||||||
echo "[!] bmaptool not available, not creating a sparse image"
|
echo "[!] bmaptool not available, not creating a sparse image"
|
||||||
else
|
else
|
||||||
echo "[+] Defaulting to sparse image generation as bmaptool is available"
|
echo "[+] Defaulting to sparse image generation as bmaptool is available"
|
||||||
|
Reference in New Issue
Block a user