[yast-commit] r66965 - /trunk/storage/storage/src/storage_finish.ycp
Author: aschnell Date: Mon Nov 28 11:18:35 2011 New Revision: 66965 URL: http://svn.opensuse.org/viewcvs/yast?rev=66965&view=rev Log: - check exit code of snapper create-config Modified: trunk/storage/storage/src/storage_finish.ycp Modified: trunk/storage/storage/src/storage_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/storage_finish.ycp?rev=66965&r1=66964&r2=66965&view=diff ============================================================================== --- trunk/storage/storage/src/storage_finish.ycp (original) +++ trunk/storage/storage/src/storage_finish.ycp Mon Nov 28 11:18:35 2011 @@ -78,8 +78,8 @@ if (part["used_fs"]:`unknown == `btrfs) { y2milestone("configuring snapper"); - SCR::Execute(.target.bash, "/usr/bin/snapper create-config --fstype=btrfs /"); - SCR::Write(.sysconfig.yast2.USE_SNAPPER, "yes"); + if ((integer) SCR::Execute(.target.bash, "/usr/bin/snapper create-config --fstype=btrfs /") == 0) + SCR::Write(.sysconfig.yast2.USE_SNAPPER, "yes"); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn2.opensuse.org