Przeglądaj źródła

Fixed typo cat instead of cut

Serghey Rodin 12 lat temu
rodzic
commit
f6150910a2
1 zmienionych plików z 1 dodań i 1 usunięć
  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'