Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 251367 | Differences between
and this patch

Collapse All | Expand All

(-)shrip-0.5.0-orig/src/shrip-common.c (-2 / +2 lines)
Lines 1572-1578 Link Here
1572
  g_signal_connect (container, "run", G_CALLBACK (run), NULL);
1572
  g_signal_connect (container, "run", G_CALLBACK (run), NULL);
1573
1573
1574
  cwd = g_get_current_dir ();
1574
  cwd = g_get_current_dir ();
1575
  chdir (ogmrip_fs_get_tmp_dir ());
1575
  if(chdir (ogmrip_fs_get_tmp_dir ()) < 0);
1576
1576
1577
  spawn = OGMJOB_SPAWN (container);
1577
  spawn = OGMJOB_SPAWN (container);
1578
  result = ogmjob_spawn_run (OGMJOB_SPAWN (container), &tmp_error);
1578
  result = ogmjob_spawn_run (OGMJOB_SPAWN (container), &tmp_error);
Lines 1584-1590 Link Here
1584
  if (tmp_error)
1584
  if (tmp_error)
1585
    g_propagate_error (error, tmp_error);
1585
    g_propagate_error (error, tmp_error);
1586
1586
1587
  chdir (cwd);
1587
  if(chdir (cwd) < 0);
1588
  g_free (cwd);
1588
  g_free (cwd);
1589
1589
1590
  return result;
1590
  return result;

Return to bug 251367