]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - get-version
interfaces: show a warning if we don't have permissions for ethtool ioctls
[thirdparty/lldpd.git] / get-version
index 19a2e3ebe56e0a3b516daabe90ba79a62d5135cd..e926d88ba3aaab5c68fca5a5a3d0cf86105d86b7 100755 (executable)
@@ -40,7 +40,7 @@ elif [ -e .git ]; then
     version="$version-dirty"
   fi
 else
-  date +%F
+  version=$(date +%F)
 fi
 
 # Use printf to avoid the trailing new line that m4_esyscmd would not handle.