]> git.pld-linux.org Git - packages/smokeping.git/commitdiff
- removed bashizm (pointed out by Paweł Zuzelski)
authorTomasz Pala <gotar@pld-linux.org>
Tue, 24 Jun 2008 15:57:20 +0000 (15:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    smokeping.spec -> 1.48

smokeping.spec

index cfa4c0f1bcf8cb08c40896eb3ce463c44c84aa30..c07ade25b49a5eb796a7493b113454287b2ba8ba 100644 (file)
@@ -126,7 +126,7 @@ echo "
  title  = Domain Name Servers
         " >> %{_sysconfdir}/config
 for dns in `awk '$1 ~ /^nameserver/ {print $2}' /etc/resolv.conf | LC_ALL=C sort -u` ; do
-((dnscnt++))
+dnscnt=$((dnscnt+1))
 echo "++ dns$dnscnt
   menu  = DNS Server $dnscnt
   title = Domain Name Server $dnscnt
This page took 0.047872 seconds and 4 git commands to generate.