summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/udev')
-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