Quellcode durchsuchen

Fixed typo cat instead of cut

Serghey Rodin vor 12 Jahren
Ursprung
Commit
f6150910a2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      bin/v-list-sys-info

+ 1 - 1
bin/v-list-sys-info

@@ -39,7 +39,7 @@ else
         distro=$(head -n1 /etc/issue | cut -f 1 -d ' ')
         distro=$(head -n1 /etc/issue | cut -f 1 -d ' ')
         if [ "$distro" = 'Debian' ]; then
         if [ "$distro" = 'Debian' ]; then
             OS="Debian"
             OS="Debian"
-            VERSION=$(cut /etc/debian_version)
+            VERSION=$(cat /etc/debian_version)
         else
         else
             OS='UNKNOWN'
             OS='UNKNOWN'
             VERSION='UNKNOWN'
             VERSION='UNKNOWN'