File: 03_accept_relative_path.patch

package info (click to toggle)
razor 1%3A2.85-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 848 kB
  • sloc: perl: 4,694; ansic: 178; makefile: 19; sh: 3
file content (12 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
Do not chdir and so accept relative paths
--- a/lib/Razor2/Client/Agent.pm
+++ b/lib/Razor2/Client/Agent.pm
@@ -745,7 +745,7 @@ sub reportit {
 
     # background myself
     unless ($self->{opt}->{foreground}) {
-        chdir '/';
+        #chdir '/';
         fork && return 0;
         POSIX::setsid;
         # close 0, 1, 2;