summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-09-13 23:40:48 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-09-13 23:40:48 +0000
commit5c17796d522162aa4c2b3061e59cc9672d4e55c1 (patch)
tree3794f219ffb1f992f5cd7a7bb79baed8e773bd3f /sys-fs
parentmake sure we clean up our temp files #105827 by Robert Forsman (diff)
downloadgentoo-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')
-rwxr-xr-xsys-fs/udev/files/udev-stop.sh3
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