Skip to content

Commit 1f9547e

Browse files
committed
upd: -e instead -z
1 parent 12a6ec6 commit 1f9547e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-sys-vesta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ check_args '1' "$#" 'PACKAGE'
3333
# Action #
3434
#----------------------------------------------------------#
3535

36-
if [ -z "/etc/redhat-release" ]; then
36+
if [ -e "/etc/redhat-release" ]; then
3737
# Clean yum chache
3838
yum -q clean all
3939

0 commit comments

Comments
 (0)