X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftar.c;h=87029a8e73b2dcd7cef16c67b87aa64f1b2b6486;hb=7347b4f5d51c15bb19637ea52e9bf7dff832cc52;hp=430bc2234dc246d1738740a7574acf9f4994129e;hpb=e3bd2a63a62aede213fe3b451952c254b095090d;p=chaz%2Ftar diff --git a/src/tar.c b/src/tar.c index 430bc22..87029a8 100644 --- a/src/tar.c +++ b/src/tar.c @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "system.h" +#include #include #include @@ -38,6 +38,7 @@ #include #include +#include #include #include #include @@ -1060,7 +1061,7 @@ parse_opt(int key, char *arg, struct argp_state *state) break; case RMT_COMMAND_OPTION: - rmt_command_option = arg; + rmt_command = arg; break; case RSH_COMMAND_OPTION: @@ -1510,9 +1511,6 @@ decode_options (int argc, char **argv) if (utc_option) verbose_option = 2; - if (!rmt_command_option) - rmt_command_option = DEFAULT_RMT_COMMAND; - /* Forbid using -c with no input files whatsoever. Check that `-f -', explicit or implied, is used correctly. */