Commit Diff


commit - 4e4d25bd4ffbdde10cef65924455817d922230b6
commit + 225dd9a359110e12b85d332e5eaa4e9c85ae2198
blob - 0f84bb064f496c86c4b0373e3660a4de9f0bd7fb
blob + aa90b01cab85df5a6a8c2abc6d1e10b389097afc
--- rmc
+++ rmc
@@ -196,7 +196,7 @@ sub docmd {
 	my $dofork = 0;
 	if (!$term) {
 		$dofork = 1;
-	} elsif ($opt_p && !(-t && -t STDOUT)) {
+	} elsif (!$opt_p && !(-t && -t STDOUT)) {
 		$dofork = 1;
 		unless (exists $ENV{'DISPLAY'}) {
 			rmtemp();