mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
14 lines
328 B
Diff
14 lines
328 B
Diff
|
--- pm-utils-1.4.1/pm/pm-functions.in.old 2010-07-04 16:50:13.000000000 +0200
|
||
|
+++ pm-utils-1.4.1/pm/pm-functions.in 2010-12-07 16:48:39.555074652 +0100
|
||
|
@@ -271,7 +271,9 @@
|
||
|
return 1
|
||
|
fi
|
||
|
export LOGGING=true
|
||
|
- exec > "$1" 2>&1
|
||
|
+ rm -f "$1"
|
||
|
+ touch "$1"
|
||
|
+ exec >> "$1" 2>&1
|
||
|
}
|
||
|
|
||
|
check_suspend() { [ -n "$SUSPEND_MODULE" ]; }
|