Blame SOURCES/cpio-2.9.90-defaultremoteshell.patch

5c2053
From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= <ovasik@redhat.com>
5c2053
Date: Mon, 14 Sep 2015 09:39:13 +0200
5c2053
Subject: [PATCH 4/7] define default remote shell as /usr/bin/ssh(#452904), use
5c2053
 /etc/rmt as default rmt command
5c2053
5c2053
diff --git a/lib/rtapelib.c b/lib/rtapelib.c
5c2053
index 7213031..7d0bd52 100644
5c2053
--- a/lib/rtapelib.c
5c2053
+++ b/lib/rtapelib.c
5c2053
@@ -59,6 +59,10 @@
5c2053
 # include <netdb.h>
5c2053
 #endif
5c2053
 
5c2053
+#ifndef REMOTE_SHELL
5c2053
+# define REMOTE_SHELL "/usr/bin/ssh"
5c2053
+#endif
5c2053
+
5c2053
 #include <rmt.h>
5c2053
 #include <rmt-command.h>
5c2053