mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o set umask and make tempfiles a bit nicer to deal with
This commit is contained in:
parent
931fc37bc9
commit
30202196f0
@ -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…
Reference in New Issue
Block a user