Mike Frysinger 18 лет назад
Родитель
Сommit
d37d6496c7
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      extra/scripts/getent

+ 1 - 2
extra/scripts/getent

@@ -65,8 +65,7 @@ case $1 in
 esac
 
 if [ -z "$2" ] ; then
-  cat $file
-  retval=$?
+  exec cat $file
 else
   search_entry "$file" "$2"
 fi