1. Michał Górny
  2. smart-live-rebuild

Commits

Michał Górny  committed 301a41f

CLI: don't call emerge if no updates were found.

  • Participants
  • Parent commits 1cb8ff4
  • Branches master

Comments (0)

Files changed (1)

File SmartLiveRebuild/cli.py

View file
 	except SLRFailure:
 		return 1
 
+	if not packages:
+		return 0
+
 	if opts.pretend:
 		for p in packages:
 			print('>=%s' % p)