]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Thu, 29 Jun 2017 15:16:04 +0000 (18:16 +0300)
committerjl777 <[email protected]>
Thu, 29 Jun 2017 15:16:04 +0000 (18:16 +0300)
src/assetchains

index eb96d7153cbcd0b83135696cce345bc4e5f92eb7..5e8354a5f48a61b69bcd20e22c7426293792fb89 100755 (executable)
@@ -14,7 +14,14 @@ function komodo_asset ()
         gen=""
     fi
 
-    $komodo_binary -pubkey=$pubkey -ac_name=$1 -ac_supply=$2 -addnode=$seed_ip $gen $args &
+    if [ -n "$2" ]
+    then
+        supply=" -ac_supply=$2"
+    else
+        supply=" "
+    fi
+
+    $komodo_binary -pubkey=$pubkey -ac_name=$1 $supply -addnode=$seed_ip $gen $args &
     sleep $delay
 }
 
This page took 0.025309 seconds and 4 git commands to generate.