소스 검색

just exec the cat

Mike Frysinger 18 년 전
부모
커밋
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