瀏覽代碼

cosmetics

Thomas Lotterer 22 年之前
父節點
當前提交
66b3073993
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      openssh/openssh.spec

+ 2 - 1
openssh/openssh.spec

@@ -277,11 +277,12 @@ AutoReqProv:  no
     exit 0
 
 %preun
-    #   before erase, stop service, remove PAM configuraten entry and remove log files
+    #   before erase, stop service
     [ $1 -eq 0 ] || exit 0
     %{l_rc} openssh stop 2>/dev/null
     rm -f $RPM_INSTALL_PREFIX/var/openssh/openssh.log* >/dev/null 2>&1 || true
 %if "%{with_pam}" == "yes"
+    #   remove PAM configuration entry
     $RPM_INSTALL_PREFIX/sbin/pamtool --remove --smart --name=openssh
 %endif
     exit 0