summaryrefslogtreecommitdiff
path: root/mkusbimg
diff options
context:
space:
mode:
Diffstat (limited to 'mkusbimg')
-rwxr-xr-xmkusbimg2
1 files changed, 1 insertions, 1 deletions
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