diff --git a/mkusbimg b/mkusbimg index 5e655b2..ba1e5c9 100755 --- a/mkusbimg +++ b/mkusbimg @@ -26,7 +26,7 @@ next_avail_loop() { for i in /dev/loop/*; do - echo `losetup -a|cut -d':' -f1` | grep -q $i + echo $(losetup -a|cut -d':' -f1) | grep -q $i if [ $? -eq 1 ]; then echo $i return 0