diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-09-13 23:40:48 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-09-13 23:40:48 +0000 |
commit | 5c17796d522162aa4c2b3061e59cc9672d4e55c1 (patch) | |
tree | 3794f219ffb1f992f5cd7a7bb79baed8e773bd3f /sys-fs/udev | |
parent | make sure we clean up our temp files #105827 by Robert Forsman (diff) | |
download | gentoo-2-5c17796d522162aa4c2b3061e59cc9672d4e55c1.tar.gz gentoo-2-5c17796d522162aa4c2b3061e59cc9672d4e55c1.tar.bz2 gentoo-2-5c17796d522162aa4c2b3061e59cc9672d4e55c1.zip |
Also check if $devices_totar was valid.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'sys-fs/udev')
-rwxr-xr-x | sys-fs/udev/files/udev-stop.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-fs/udev/files/udev-stop.sh b/sys-fs/udev/files/udev-stop.sh index 8be8e3ced11c..7141bb76b415 100755 --- a/sys-fs/udev/files/udev-stop.sh +++ b/sys-fs/udev/files/udev-stop.sh @@ -16,7 +16,8 @@ main() { devices_totar=$(mktemp /tmp/devices.totar.XXXXXX) device_tarball=$(mktemp /tmp/devices-XXXXXX) - if [[ -z ${devices_udev} || -z ${devices_real} || -z ${device_tarball} ]] ; then + if [[ -z ${devices_udev} || -z ${devices_real} || \ + -z ${devices_totar} || -z ${device_tarball} ]] ; then eend 1 "Could not create temporary files!" else cd /dev |