mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-31 14:50:37 +03:00
o set umask and make tempfiles a bit nicer to deal with
This commit is contained in:
parent
33934db629
commit
97344f18e2
@ -100,13 +100,15 @@ function validate_args
|
||||
fi
|
||||
}
|
||||
|
||||
umask 0077
|
||||
|
||||
parse_args "$@"
|
||||
|
||||
validate_args
|
||||
|
||||
|
||||
SCRIPTFILE=`mktemp /etc/lvm/lvmscript.XXXXXXXXXX`
|
||||
TMPFILE=`mktemp /etc/lvm/lvmtmp.XXXXXXXXXX`
|
||||
SCRIPTFILE=/etc/lvm/.lvmconf-script.tmp
|
||||
TMPFILE=/etc/lvm/.lvmconf-tmp.tmp
|
||||
|
||||
|
||||
# Flags so we know which parts of the file we can replace and which need
|
||||
|
Loading…
x
Reference in New Issue
Block a user