Changeset 4c008ce


Ignore:
Timestamp:
02/05/14 12:08:09 (10 months ago)
Author:
Renato Botelho <garga@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
4f9718b, dc38d77
Parents:
42d16db
git-author:
Renato Botelho <garga@…> (02/05/14 12:07:43)
git-committer:
Renato Botelho <garga@…> (02/05/14 12:08:09)
Message:

Make sure file exist before try to grep, it silents 'file not found' messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbi-manager

    r3eb788d r4c008ce  
    70537053                        continue 
    70547054                fi 
     7055                touch ${PBI_STAGEDIRMNT}/${PBI_INS_GROUPSFILE} 
    70557056                grep -q "^$group:" ${PBI_STAGEDIRMNT}/${PBI_INS_GROUPSFILE} 
    70567057                if [ $? -ne 0 ] ; then 
     
    70747075                        continue 
    70757076                fi 
     7077                touch ${PBI_STAGEDIRMNT}/${PBI_INS_USERSFILE} 
    70767078                grep -q "^$user:" ${PBI_STAGEDIRMNT}/${PBI_INS_USERSFILE} 
    70777079                if [ $? -ne 0 ] ; then 
Note: See TracChangeset for help on using the changeset viewer.